Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
psdtohtml opened this issue Dec 18, 2024 · 0 comments

Comments

@psdtohtml
Copy link

psdtohtml commented Dec 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant