my symfony project at production when an actions does not exist is throwing error 500 instead of 404.
At dev enviroment, it shows error 404 (actually a debug of the 404 error says action not found).
I am using custom 404 templates as manual says.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It sounds like the error is in your custom 404 action. Can you provide the code for your 404 action and how you’ve defined your custom 404 in your settings.yml?