close

[Solved] Symfony Error: “An exception has been thrown during the rendering of a template”

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Symfony Error: “An exception has been thrown during the rendering of a template” in php. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Symfony Error: “An exception has been thrown during the rendering of a template” Error Occurs?

Today I get the following error Symfony Error: “An exception has been thrown during the rendering of a template” in php.

How To Solve Symfony Error: “An exception has been thrown during the rendering of a template” Error ?

  1. How To Solve Symfony Error: “An exception has been thrown during the rendering of a template” Error ?

    To Solve Symfony Error: “An exception has been thrown during the rendering of a template” Error The Bundle:controller:action syntax was deprecated in 4.1 and removed in 5.0. It's been replaced by the controller::action syntax.

  2. Symfony Error: “An exception has been thrown during the rendering of a template”

    To Solve Symfony Error: “An exception has been thrown during the rendering of a template” Error The Bundle:controller:action syntax was deprecated in 4.1 and removed in 5.0. It's been replaced by the controller::action syntax.

Solution 1

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).

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment