I just created a new project with Symfony (This is not my first time), but when I run the application in the browser, appears this error:
Parse error: syntax error, unexpected '{' in /var/www/ProjectName/var/bootstrap.php.cache on line 2094
If I go to that line in that file there is :
$this->loading[$id] = true;
try {
$service = $this->$method();
} catch (\Exception $e) {
unset($this->services[$id]);
throw $e;
} finally {
unset($this->loading[$id]);
}
return $service;
}
The line 2094 is this piece:
} finally {
What I have to do to make it work?