0

I have inherited a wordpress site that mysteriously broke the dev in charge left and I'm helping to piece together what's going wrong.

I told my PM that I have experience as a wordpress user and he's like, "You're on this project." So here I am trying to figure it out. I am a software engineer with decades of experience, but not wordpress dev.

So when I hit the site from the root I get a 500 error. How do I start debugging this? I can login to wordpress and have access to the dashboard and stuff.

Update:

I have swapped out the theme with 2021 and it appears to be alive at least. Looking into the theme now.

0

I would disable .htaccess and changing the permalink structure that can be found in (setting->permalinks).

You're specifically getting a 500 error and not a "Cannot connect to the Database" error?

Since it sounds like a theme issue, inside of wp-config.php, set: define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', true);

so you can start seeing exactly what errors are occurring

1
  • Or if you dont want to expose errors on a live site (for security) then skip WP_DEBUG_DISPLAY and consult the debug.log that should exist in the root of wp-content. – vancoder Mar 30 at 16:59

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.