Symfony tip: Always view the profiler to try and view the full error
13 May 2025 (Updated 13 August 2025)
Sometimes, if you open the profiler page for a given error and scroll right to the bottom of the page, you might see some error information that is not otherwise easily visible from the Symfony logs or an API response (if using something like API Platform).
For example, when you have an error relating to a badly formed Doctrine query, you might see the actual query Doctrine tried to execute if you scroll to the bottom for the corresponding profile page.

Tagged:
Symfony recipes