The exception handler should be disabled by default.
-
Hello, I spent some days debugging why one of our sites was not throwing stack traces but only Exception Thrown as the error, until we found it was not related to our php-fpm, nginx configuration but to wordpress, and then it was easy to find the culprit, your exception handler, was shutting down fatal errors, and hiding the file name, line numbers, and stack trace even with xdebug active, until we used this constant, NGG_DISABLE_SHUTDOWN_EXCEPTION_HANDLER either your exception handler should not sabotage development, in our case we are starting to upgrade this site for php 8.2, or the exception handler should be disabled by default.
There’s a screenshot of how your exception handler displays errors.
As you can see, there are no line number or anything, this is how it should look:
- The topic ‘The exception handler should be disabled by default.’ is closed to new replies.