Skip to content

Parse error after clearing the cache #12815

@Reflex14

Description

@Reflex14

This happened after a composer update today, and on a fresh symfony install. Clearing the cache gives me the following error:

PHP Parse error:  syntax error, unexpected '(', expecting ')' in /var/www/project/app/cache/dev/appDevDebugProjectContainer.php on line 20
PHP Stack trace:
PHP   1. {main}() /var/www/project/app/console:0
PHP   2. Symfony\Component\Console\Application->run() /var/www/project/app/console:27
PHP   3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/project/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:126
PHP   4. Symfony\Component\HttpKernel\Kernel->boot() /var/www/project/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:70
PHP   5. Symfony\Component\HttpKernel\Kernel->initializeContainer() /var/www/project/app/bootstrap.php.cache:2331
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions