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?

  • please check .htaccess file for RewriteBase path. – ravi patel Oct 20 '15 at 13:06
  • It is set to RewriteBase / which seems fine – Javier Villanueva Oct 20 '15 at 14:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.