Theme X update - HTTP 500 fail

Hi,

I have been trying to update the theme from version 5.1.0 to 5.2.3. I am currently working from a child theme as recommended to me to do.

When I update it i get a http 500 error as though the website child theme is broken due to the update. I try to view the theme as a preview when selecting a new theme in the hope it will stay the same if i attempt to change from the child theme to the direct “X” theme.

To remedy the problem, i have to log in to Godaddy and restore from a backup.

I hope this makes sense…

Kind regards,
Ian

Hello @vikingtabletop,

Thanks for asking. There can be multiple reasons for 500 error message showing up. As you havent shared relevant details, please refer following tutorials to for possible solutions:

https://www.cloudways.com/blog/how-to-fix-500-internal-server-error-wordpress/

Thanks.

I believe it has something to do with the fact i’m working from a child theme and trying to update the main theme.

Is there something i can try in seeing if this is in fact the case?

Kind regards,
Ian

Hi there,

Thanks for posting in.

Every update is always applied to the main/parent theme even if you have an active child theme. Or maybe you’re really updating the theme through child theme? That’s not possible through automatic updates, so how’d you do that?

The easier solution to find what’s causing this is getting the error details. Please follow this,

  1. Edit your site’s wp-config.php and replace this line

define('WP_DEBUG', false);

with these new lines

define('WP_DEBUG', true);

define('WP_DEBUG_DISPLAY', false);

define('WP_DEBUG_DISPLAY_LOG', true);
  1. Update your site just to trigger the 500 internal error.

  2. Download debug.log file from /wp-content/ folder and provide it here (you may use file sharing and provide the URL, or simply copy its content)

  3. Then we’ll find the next procedure once we got the error details

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.