+
Skip to content

Unknown: timecop couldn't find method datetime::timecop_orig___construct #55

@psdtohtml

Description

@psdtohtml

PHP Fatal error after update Windows 10.

For those who encounter this issue with this extension:

Yesterday, after updating Windows 10, the authorization form in Yii2 started freezing (status = pending).
I couldn't find a solution, so I simply disabled the extension.

I use: php7.4 (OSPanel)

Here are the errors that occurred:

PHP Warning: Unknown: timecop couldn't create method datetime::timecop_orig___construct because already exists. in Unknown on line 0
PHP Warning: Unknown: timecop couldn't create method datetime::timecop_orig_createfromformat because already exists. in Unknown on line 0
PHP Warning: Unknown: timecop couldn't create method datetimeimmutable::timecop_orig___construct because already exists. in Unknown on line 0
PHP Warning: Unknown: timecop couldn't create method datetimeimmutable::timecop_orig_createfromformat because already exists. in Unknown on line 0
PHP Fatal error: Uncaught yii\base\ErrorException: Unknown: timecop couldn't find method datetime::timecop_orig___construct. in Unknown:0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载