-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
StopwatchPeriod::$isFinder #29347
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
Comments
Can you create a small example application that allows to reproduce your issue? |
These are the only command lines and files I edited, otherwise can you tell me how I should transmit it to you, thanks. |
You can create a GitHub repository and push everything there. That would help a lot. :) |
Yeah, that looks like an opcache optimization bug. Which PHP version does this affect? |
ok, I disabled OPcache, on Ubuntu by the following :
Works now with this workaround.
|
I can confirm the problem on Windows 7/Apache/ PHP 7.2.11 It makes the whole app unusable. After some request I have to restart the server. Disabling OPcache seems to work as workaround. |
…as-grekas) This PR was merged into the 3.4 branch. Discussion ---------- [Debug] workaround opcache bug mutating "$this" !?! | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #29347 | License | MIT | Doc PR | - This makes absolutely no sense but works around an OPcache bug. Commits ------- e2b4c8d [Debug] workaround opcache bug mutating "$this" !?!
Fixed in #29349. Thanks for the help. |
This behaviour is confirmed on 7.1.(24 and 16) versions as well. Disabling opcache is a nice workaround for local development. Any chance to release a 4.1.9 version with this fix? This currently breaks all projects using the |
In case if someone has this issue (it's still available) in docker, might be fixed by the following: the fast way if vim is not available run
the more correct way (subjectively) - add the creation of |
I would rather update the Debug component than disabling Opcache. |
Symfony version(s) affected: 4.1.8
Description
Uncaught ErrorException when trying to output a simple template with encore installed
How to reproduce
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: