Symfony 5.x - An error occurred while loading the web debug toolbar Symfony 5.x - An error occurred while loading the web debug toolbar nginx nginx

Symfony 5.x - An error occurred while loading the web debug toolbar


This is a bug in Symfony 5.0.0 that should already be fixed in 5.0.1. You can see the configuration change, that probably will fix this here: https://github.com/symfony/symfony/compare/v5.0.0...v5.0.1#diff-414443648aa78565f2158b8154a1ff8e

The best approach would be to run composer update


Updating Symfony 5.0.0 to 5.0.1 didn't work for me, since I was already in 5.0.1. Something simpler was the solution, just removing the var/cache folder from the Symfony project made the toolbar work again.