Jump to content

Parse Error après erreur 500


Recommended Posts

Bonjour à tous, 

Je rencontre une erreur 500 qui n'est pas dû a l'HTACCESS ou autre possibilité. Lorsque j'active le mode debug j'ai ce message qui s'affiche sur ma boutique

Parse error: syntax error, unexpected 'finally' (T_STRING), expecting catch (T_CATCH) in /home/giovannizk/shop/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php on line 201

 

Voici le code exact où l'erreur se trouverait

    /**
     * {@inheritdoc}
     */
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        $this->boot();
        ++$this->requestStackSize;
        $this->resetServices = true;

        try {
            return $this->getHttpKernel()->handle($request, $type, $catch);
        } finally {
            --$this->requestStackSize;
        }
    }

Que faire ? 

 

Merci 

 

 

 

Edited by VB2095 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...