Hello,
Initially I had got an error after updating a page I was working on.
http://millelacssteamway.com/?page_id=72
As you can see I get this error.
“Fatal error: Cannot use string offset as an array in …/public_html/wp-content/plugins/siteorigin-panels/inc/styles.php on line 105”
I then copied the site to a new location on the same server with wp clone. test.millelacssteamway.com and updated the Page Builder plugin.
http://test.millelacssteamway.com/?page_id=72
Then I received 6 errors. Then I deactivated all the plugins and received the following 5 errors. I repeat I get these 5 error when page builder is the only plugin enabled.
Warning: Invalid argument supplied for foreach() in …test.millelacssteamway.com/wp-content/plugins/siteorigin-panels/inc/sidebars-emulator.php on line 86
Warning: Invalid argument supplied for foreach() in …test.millelacssteamway.com/wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 705
Warning: Invalid argument supplied for foreach() in …test.millelacssteamway.com/wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 777
Warning: Invalid argument supplied for foreach() in …test.millelacssteamway.com/wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 910
Warning: Invalid argument supplied for foreach() in …test.millelacssteamway.com/wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 930
Please help. This is a production site.
Hi Serverjohn
Sorry to hear about the hassle.
Is WordPress up to date? If not, please, try going to Dashboard > Updates and updating WordPress. If that’s done then try re-installing Page Builder. That would involve deleting the plugin from Plugins and then re-installing from Plugins > Add New.
At the moment, these are the only steps I can think of. Let us know how it goes.
With regards to this being a production site. If the errors are printing on the front end of the site, please, turn off wp_debug in the WordPress wp-config.php file when not testing.
https://codex.wordpress.org/WP_DEBUG
I updated the test site to the newest wordpress and still get the following errors. I also removed and reinstalled the plugin and get the same errors. All other plugins are deactivated.
Warning: Invalid argument supplied for foreach() in …wp-content/plugins/siteorigin-panels/inc/sidebars-emulator.php on line 86
Warning: Invalid argument supplied for foreach() in …wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 705
Warning: Invalid argument supplied for foreach() in …wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 777
Warning: Invalid argument supplied for foreach() in …wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 910
Warning: Invalid argument supplied for foreach() in ..wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 930
It is already set to false…
Hi John
From the looks of things, the Page Builder meta data is malformed, which is causing these errors. Do you get these same errors when creating a new Page Builder page with all plugins disabled?
No. I just recreated the page and started from scratch. Interestingly when I set it as a draft I was able to refresh the page and see most of it properly but when set to publish it would error out.
Hi Serverjohn
Would it be possible for you to create a temporary admin account for us so we can log in and take a look? You can create the account with the following email address:
[email protected]
Just navigate to Users > Add New in your WordPress admin. Enter siteorigin for the username and [email protected] for the email address. Make sure you’ve selected Administrator for the role and enabled the “Send Password” field so we receive the details.
Once we’re finished taking a look, you can delete this account. We’ll let you know when to do that.