Updated WP and X Theme, now site not working

Hi,

I have just updated X theme to 6.4.6 and WP to 5.0.3, but this seems to have broken my website.

It now isn’t loading.

Please help!

http://whitespacegallery.net/

Thank you!

Hello Graeme,

Thanks for asking and sorry that the website is not loading up.

I checked the website and I am getting a blank page. In dev tools I see 500 error message. There can be multiple reasons for 500 error message. Our first task should be to bring website online. I suggest you to please take a look at following tutorial for some solutions regarding 500 error message and let us know the outcome:

If you still have problems kindly get back to us with the result of the steps above and URL/User/Pass of your WordPress dashboard using the Secure Note functionality of the post to follow up the case.

Thank you.

Hello Graeme,

Thanks for the details!

The design you have sent hasn’t admin access.

Please grant admin access so that we can have a look on to your issue.

Thanks

Sorry, my mistake. I have changed it to admin now

Hi Graeme,

Most probably you’re running out of your PHP memory limit allocated to your server. I see currently you have PHP memory limit of 256MB. Could you please try increasing it by following our guide here (https://theme.co/apex/forum/t/troubleshooting-increasing-php-memory-limit/16935) and re-test your issue again. Once increase the memory, please verify it by head over to your Dashboard -> WP Serverinfo area.

If you’re still having issues, then you need to enable your WP_DEBUG mode on your server and re-visit one your pages to see whether you’re getting PHP error messages which describes your issue. You can enable WP_DEBUG mode by following this guide (https://codex.wordpress.org/WP_DEBUG).

To further investigate your issue, we will require your FTP credentials as well. Make sure to add it into your secure note.

Thanks!

I have used the debugger and it says this:

Fatal error: Uncaught Error: Class ‘WP_Block_Type_Registry’ not found in /home3/whitespa/public_html/wp-includes/script-loader.php:2421 Stack trace: #0 /home3/whitespa/public_html/wp-includes/class-wp-hook.php(286): wp_enqueue_registered_block_scripts_and_styles(’’) #1 /home3/whitespa/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(’’, Array) #2 /home3/whitespa/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home3/whitespa/public_html/wp-includes/script-loader.php(2405): do_action(‘enqueue_block_a…’) #4 /home3/whitespa/public_html/wp-includes/class-wp-hook.php(286): wp_common_block_scripts_and_styles(’’) #5 /home3/whitespa/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(’’, Array) #6 /home3/whitespa/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #7 /home3/whitespa/public_html/wp-includes/script-loader.php(2231): do_action(‘wp_enqueue_scri…’) #8 /home3/whitespa/public_html/wp-includes/class-wp-hook.php(286): wp_enqueue_scripts(’’) in /home3/whitespa/public_html/wp-includes/script-loader.php on line 2421

What can I do now to fix this?

Hi Graeme,

I have researched a bit about this issue and most possible causes I see due to corrupted WordPress core files or theme files. See (https://wordpress.org/support/topic/fatal-error-need-help-15/) & (https://wordpress.org/support/topic/uncaught-error-class-wp_block_type_registry-not-found/).

I have tried to troubleshoot your issue by using this plugin (https://wordpress.org/plugins/health-check/) which allows to disable all plugins and test your site using default WordPress theme, but the issue remained.

So I would suggest you to try re-installing WordPress core by following this guide (https://codex.wordpress.org/Upgrading_WordPress) or you need to contact your hosting provider to troubleshoot this issue further.

Thanks!

I have fixed it. Deleted loads of WP files and replaced them with the latest ones, and it has worked this time! Thanks for all your help

Hey Graeme,

We are just glad that you have figured it out a way to correct the said issue.
Thanks for letting us know!

Best Regards.

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