Website is not opening after plugins upgrade
Hi guys,
I updated plugins recently and now website is not opening.
I can only see this error.
Where should I start troubleshooting.
Thanks.
-
Hello, It is a Wordpress bug, not a cPanel bug. I recommend you to access your wp-config.php file, and edit the debug line to true. Then access the site again, and you will see the error that you must fix for the site to work again. Good luck 0 -
Check public_html/error_log and any other error_log files that you can find. The reason will normally be there. Could also be a PHP version compatibility issue (i.e. you need to switch to newer PHP). And yes, this is a WordPress/site issue, not a server issue. 0 -
I'm also a fan of moving everything out of the plugin directory, and adding them back one by one until the problem happens. That will at least tell you which plugin is causing the issue. 0 -
I'm also a fan of moving everything out of the plugin directory, and adding them back one by one until the problem happens.
If you simply rename them, it does the same thing. We typically rename them like: example-plugin1 -> example-plugin1.disable Then it's pretty easy to put them back.0 -
The error log should tell you which plugin is involved in the error. Also, If it's a recent wordpress version it's likely the wordpress admin has received an email with information and a link allowing login access to the site to disable the plugin. If you need to move or disable plugin via FTP, you don't need to move them all. Just look at the modified dates and deal with the most recent ones. Once you've disabled the problem plugin you could install the WP Rollback plugin to revert the problem plugin to a previous version to see if it restores the needed functionality without breaking the site anymore. 0 -
Thanks guys. I enabled debugging in wp_config.php file. This is what I get when try to open the website. Please advise what I should do no to fix it. Notice: Undefined variable: place in /home/wpsite/public_html/wp-content/themes/rttheme11_old/functions/rt_ud_sidebars.php on line 66 Notice: Undefined variable: place in /home/wpsite/public_html/wp-content/themes/rttheme11_old/functions/rt_ud_sidebars.php on line 66 Notice: Undefined variable: place in /home/wpsite/public_html/wp-content/themes/rttheme11_old/functions/rt_ud_sidebars.php on line 66 Notice: Undefined variable: place in /home/wpsite/public_html/wp-content/themes/rttheme11_old/functions/rt_ud_sidebars.php on line 66 Notice: Undefined variable: place in /home/wpsite/public_html/wp-content/themes/rttheme11_old/functions/rt_ud_sidebars.php on line 66 Notice: Undefined variable: place in /home/wpsite/public_html/wp-content/themes/rttheme11_old/functions/rt_ud_sidebars.php on line 66 Notice: Undefined variable: place in /home/wpsite/public_html/wp-content/themes/rttheme11_old/functions/rt_ud_sidebars.php on line 66 Notice: Undefined variable: place in /home/wpsite/public_html/wp-content/themes/rttheme11_old/functions/rt_ud_sidebars.php on line 66 Fatal error: Uncaught Error: Call to undefined function split() in /home/wpsite/public_html/wp-content/themes/rttheme11_old/functions/rt_ud_sidebars.php:75 Stack trace: #0 /home/wpsite/public_html/wp-content/themes/rttheme11_old/functions.php(23): include() #1 /home/wpsite/public_html/wp-settings.php(566): include('/home/wpsite/p...') #2 /home/wpsite/public_html/wp-config.php(96): require_once('/home/wpsite/p...') #3 /home/wpsite/public_html/wp-load.php(50): require_once('/home/wpsite/p...') #4 /home/wpsite/public_html/wp-blog-header.php(13): require_once('/home/wphylec/p...') #5 /home/wpsite/public_html/index.php(17): require('/home/wpsite/p...') #6 {main} thrown in /home/wpsite/public_html/wp-content/themes/rttheme11_old/functions/rt_ud_sidebars.php on line 75 0 -
"Uncaught Error: Call to undefined function split()" indicates that you likely updated PHP as well. Split was removed from PHP in version 7.0. If you have a more recent version of the theme, that likely has the fix. If that's not an option, you need to switch back to PHP 5.6. If that's the only issue, you may be able to just replace the split() function where indicated with the preg_split() function. 0 -
If you also updated wordpress you may need to roll that back to a much earlier version as well, since old themes don't usually work that well in the latest version of Wordpress. Then the plugins you updated may need to revert as well since they may not be compatible with older versions of wordpress you revert to. Does your host have a backup from before all the updates, that may be the best route to get everything back to how it was. 0
Please sign in to leave a comment.
Comments
9 comments