Symfony 5.1 – An exception has been thrown during the rendering of a template (“The controller for URI “/_fragment” is not callable”)

The Bundle:controller:action syntax was deprecated in 4.1 and removed in 5.0. It’s been replaced by the controller::action syntax.

The same syntax for templates was also dropped much earlier (referenced for completeness, you are already using the new template syntax).

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top