abdess Posted September 21, 2023 Share Posted September 21, 2023 (edited) How do I determine in which file this error occurred? I looked in the var/logs path, but the error is not logged there Edited September 28, 2023 by abdess (see edit history) Link to comment Share on other sites More sharing options...
idnovate.com Posted September 21, 2023 Share Posted September 21, 2023 First, could you please check if the error is thrown from the function getFallbackErrorMessage in src/PrestaShopBundle/Controller/Admin/FrameworkBundleAdminController.php? Just modify the copy "An unexpected error occurred." and check if it changes. Link to comment Share on other sites More sharing options...
abdess Posted September 21, 2023 Author Share Posted September 21, 2023 18 minutes ago, idnovate.com said: First, could you please check if the error is thrown from the function getFallbackErrorMessage in src/PrestaShopBundle/Controller/Admin/FrameworkBundleAdminController.php? Just modify the copy "An unexpected error occurred." and check if it changes. Thanks for you reply, yes I tried this and it changes: Link to comment Share on other sites More sharing options...
idnovate.com Posted September 27, 2023 Share Posted September 27, 2023 Great. Then add this trace just in the line before, and check the log: https://pastebin.com/eXGtTNkg 1 Link to comment Share on other sites More sharing options...
abdess Posted September 28, 2023 Author Share Posted September 28, 2023 20 hours ago, idnovate.com said: Great. Then add this trace just in the line before, and check the log: https://pastebin.com/eXGtTNkg Yes, now it logs the errors Thanks (Y) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now