Hello.
I have a family restaurant website, and the entire site broke from the latest update. When trying to access the wp-admin, I get some critical error message. I had to contact my hosting provider for support, and they found that the plugin is the issue.
Here’s what I was provided in the logs:
thrown in /home2/eggrollk/public_html/wp-content/plugins/siteorigin-panels/compat/yoast.php on line 18
[04-Aug-2021 22:10:16 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WPSEO_Options::get() in /home2/eggrollk/public_html/wp-content/plugins/siteorigin-panels/compat/yoast.php:18
Stack trace:
#0 /home2/eggrollk/public_html/wp-content/plugins/siteorigin-panels/siteorigin-panels.php(207): require_once()
#1 /home2/eggrollk/public_html/wp-includes/class-wp-hook.php(303): SiteOrigin_Panels->init_compat(”)
#2 /home2/eggrollk/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#3 /home2/eggrollk/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#4 /home2/eggrollk/public_html/wp-settings.php(441): do_action(‘plugins_loaded’)
#5 /home2/eggrollk/public_html/wp-config.php(95): require_once(‘/home2/eggrollk…’)
#6 /home2/eggrollk/public_html/wp-load.php(50): require_once(‘/home2/eggrollk…’)
#7 /home2/eggrollk/public_html/wp-blog-header.php(13): require_once(‘/home2/eggrollk…’)
#8 /home2/eggrollk/public_html/index.php(17): require(‘/home2/eggrollk…’)
#9 {main}
Hi Andy
Thanks for reaching out.
It looks like you’re using a very old version of Yoast SEO. We’ll include a deeper check for this in the next Page Builder update. For now, if you update Yoast first and then Page Builder you should be good to go.
If you’re using the nonpremium version of Yoast, the current version is 16.9 https://yoast.com/wordpress/plugins/seo/change-log-wordpress-seo/.
@Andrew Misplon
Thank you, that fixed the problem. However, since I haven’t used the builder in a while, how do I change the layout of the edit pages to the Page Builder?
Hi Andy, glad to hear you’re making progress. If you’d like to view pages in the Classic Editor try going to Plugins and installing the Classic Editor plugin.
Hi Andrew,
No I meant I want to use the Site Origin Page Builder. However when I go to edit pages, I don’t have the Page Builder tab that I used to with the drop and drag.
Is there a Text and Visual tab present?
Yes!
Sounds like a plugin conflict. Try temporarily deactivating all plugins except Page Builder, does the issue resolve?
I deactivated everything except Page Builder by SiteOrigin and same thing.
Here is what the edit page looks like: https://i.imgur.com/A9JBBgZ.png
Page Builder box is at the bottom, but none of the drag and drop stuff are there.
Next step would to be to temporarily switch to a default theme like Twenty Nineteen to rule that out.
Do I really have to change my theme though? It’s a very basic website for our restaurant, and I don’t want to do a lot of reworking.
All the deactivations in the plugin/theme conflict test are temporary. The idea is to find a working baseline, once you have a working baseline you can add the theme back and then plugins until the issue re-occurs. If you’d prefer to troubleshoot directly you can start with checking for JS errors in the console.
https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis
I appreciate the help.
For sure. While editing a page that should be loading Page Builder open the console, are errors present in red text?
Do I check with a default theme activated?
If you’re switching to the default theme then the console step would come next.
* Deactivate all plugins except for Page Builder.
* Switch to Twenty Nineteen or any default theme.
–> In this state, is Page Builder working? IF yes, then reactivate the theme, does Page Builder now fail?
Sorry for the delayed response.
No it is still not working. It’s still at the bottom with a default theme.
With every single plugin except for Page Builder deactivated and a default theme activated Page Builder still isn’t loading?
Yes. Take a look at the edit page and the website:
https://i.imgur.com/yMs73xU.png
https://i.imgur.com/49i4rqi.png
Thanks. I’m going to line up steps here to save time. Proceed down the list if necessary.
* Try reinstalling Page Builder. Your content won’t be impacted. From Plugins, delete Page Builder and then reinstall. Or download the ZIP file here https://wordpress.org/plugins/siteorigin-panels and upload from PluginsAdd NewUpload Plugin and overwrite.
* Edit a page that uses Page Builder. Open the console. Are there errors present in red text? https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis.
* Enable PHP debugging and check the debug logs for anything related. https://www.wpbeginner.com/wp-tutorials/how-to-set-up-wordpress-error-logs-in-wp-config/.
Thanks!
If I reinstall the page builder, will everything look exactly the same still?
Yes, your data will be safe. It doesn’t hurt to have a site backup though.
Reinstalling worked.
Thank goodness! Thank you very much for the help.
Super, glad to hear that did the trick!
If any SiteOrigin queries or requests arise in the future, please, let us know via a new thread.
Cheers for now :)
Hey Andrew.
One last thing if you have the time!
This page: https://eggrollkingrestaurant.com/menu/ has a huge blank white space near the bottom that wasn’t there before. Any ideas?
I guess the theme has some sort of sticky footer? If you inspect the page you’ll see the footer inner div has a big top margin added inline.
You can perhaps try editing the row the slider is in, open the Attributes section on the right. In the CSS Declarations field try adding:
See if that helps.
Correction
You’re awesome, thanks again!
Sure, no problem :) Cheers.