0

For some reason WP is showing a generic 500 Internal Server Error page when I have PHP errors in my code. I have set WP_DEBUG to true, and the following settings in my php.ini file:

error_reporting = -1
log_errors = On
display_errors = On

I tried triggering an error in my index.php and wp-config.php files and at that point errors are displayed fine, if I have a PHP error in my theme files then the 500 error page is shown so I guess it might be some custom error handling function running somewhere?

2
  • please check .htaccess file for RewriteBase path.
    – Ravi Patel
    Commented Oct 20, 2015 at 13:06
  • It is set to RewriteBase / which seems fine Commented Oct 20, 2015 at 14:09

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.