Website breaks after update to v3.0
-
I tried updating two of my Wordpress installs to the latest package (v3.0.0), and it results in a critical, not very verbose, error message.
"There has been a critical error on this website. Learn more about troubleshooting WordPress."
I tried renaming the entire plugins folder while in recovery mode, in order to find out whether it's a specific plugin, but the result is the same.
Any ideas what might be going on here?
-
@stormgrass PHP got upgraded to 8.1, make sure your plugins and themes are ready for that before updating.
-
@stormgrass said in Website breaks after update to v3.0:
I tried renaming the entire plugins folder while in recovery mode, in order to find out whether it's a specific plugin, but the result is the same.
Sounds like it's probably a theme then.
-
@jdaviescoates Thank you! Apparently it was one of my plugins, but they needed to be deactivated manually, simply renaming the folder didn't work. I guess I'm gonna do that with my other installs now and see which one it is there that breaks the site.
-
@stormgrass which plugin?
-
I've had this happen to me. The quickest for me was to just restore from the most recent working backup. You are backing up, right? And yes, as @jdaviescoates says, it's definitely a plugin or theme not ready for 8.1. I suggest restoring to one of your backups, and work from within the functioning WP to deactivate the problematic plugin/theme, then upgrade.
-
@stormgrass You have to go to wp-config.php and enable DEBUG mode to understand if plugin or theme is blocking.
Insinde wp-confing.php you will find:
define( 'WP_DEBUG', false ); define( 'WP_DEBUG_LOG', false ); define( 'WP_DEBUG_DISPLAY', false );
change to
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', false ); define( 'WP_DEBUG_DISPLAY', true );
And you will see on the screen what is blocking your Wordpress instance.