-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[BUG][DependencyInjection] Syntax error in var/cache/dev/appDevDebugContainer.php #19201
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 please provide some steps on how to reproduce your issue and/or fork the Symfony Standard Edition and modify it in a way that makes it possible to reproduce this? |
Only thing I knowingly did was to update the composer packages in the project.
EDIT Forgot to mention: I tried updating to Symfony ^3.0 but to no avail. |
Can you please show the output of |
I put it into a Pastebin here. EDIT: Forgot to mention that I reverted back to the old versions through a Git reset and only updated kimk\pagebundle. |
i can confirm this issue too, tried to update this morning and got the same error. I'm working on php7, and symfony 2.8.x-dev...i already tried to downgrade symfony/symfony, but apparently the problem is not there...here is my composer show EDIT: |
I have got this problem too. |
Same problem too |
Same problem here. |
Just saw that the problem seems to occur in 2.8.x. That excludes #18682 as it was only merged in 3.0.x. |
I think it's the version 3.0.3 of zendframework/zend-code that cause the issue. I put the line "zendframework/zend-code": "3.0.2" in my composer.json and everything works fine. "require": { |
confirmed...3.0.2 version of zend-code solves the issue |
Then please report the bug to zend-code |
Thank @AntoineNseir |
Will do that asap. |
Closing then. |
Upon clearing the cache a fatal error is thrown:
Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR), expecting identifier (T_STRING) in [...]var/cache/dev/appDevDebugProjectContainer.php:7161
Here's the corresponding line:
class VichUploaderBundleHandlerUploadHandler_000000003557d388000000006581de10da75941a549785cf26d7df71050c90e4 extends \\Vich\UploaderBundle\Handler\UploadHandler implements \\ProxyManager\Proxy\VirtualProxyInterface {
It's obvious that the error is caused by the duplicate backslashes.
#9815 seems to be related, but #9816 does not fix this behaviour since it started after the most recent
composer update
.The text was updated successfully, but these errors were encountered: