I'm using a slimframwork 3 app on laradock (nginx, mariadb, phpfpm, php 5.6) so I made a stupid syntax error:
$view->addExtension(new \Slim\Views\TwigExtension(
$container->router,
$container->request->getUri(),
));
the comma after the getUri() was giving me error 500 on chrome and that was frustration so I tried my app on wamp on windows and I get:
Parse error: syntax error, unexpected ')' in C:\wamp64\www\app\bootstrap\app.php on line 21
why was I having a 500 error with no clue of what was wrong.
P.S. I've set displayErrorDetails to true
display_errors
toOn
– Elenor