I’ve been using SiteOrigin with the VMagazine theme, and upon trying to take the theme live I am now unable to see a few recent blog posts. I receive the following error warnings:
Warning: Invalid argument supplied for foreach() in /nas/content/staging/winesinniagara/wp-content/plugins/siteorigin-panels/inc/renderer.php on line 644
Warning: Invalid argument supplied for foreach() in /nas/content/staging/winesinniagara/wp-content/plugins/siteorigin-panels/inc/renderer.php on line 655
I have updated the theme, all plugins, and am running the most current version of WordPress.
Hi Hughesandco,
Does this issue globally or only on a page or two? If the latter, would it be possible for you to send me an export of the page experiencing this issue? To export a page, please open up the page in the editor and click the Layout button in the Page Builder toolbar. Then click import/export and then click download. Please upload the export to a 3rd party file hosting site such as WeTransfer (no email is required).
Hi Alex,
It doesn’t seem to let me, the issue we’re seeing this on is on a few of the recent posts, not pages. They weren’t created using the Page Builder, which is why I’m unsure why there are these issues on the post pages.
When I click to the back end I can see that the post content is in there, however, when I go to view the post there is no content.
Thanks,
Faith
Hi Faith,
That’s strange. When SiteOrigin Page Builder isn’t enabled for a post/page, SiteOrigin Page Builder isn’t designed to execute code around the area where the reported errors are occurring. This leads me to believe this may be a plugin conflict.
Can you try disabling all non-SiteOrigin plugins and see if this fixes the issue? You’ll need to clear all your caches after disabling your plugins.
If it does fix the issue, then try re-enabling your plugins one by one until the issue comes back. This procedure will help diagnose which plugin is causing the issue.
Once we know that, we’ll be able to look at what might be causing the conflict and either solve the problem or help you find an alternative plugin.
If that doesn’t help, you can also try temporarily switching to one of the default WordPress themes to see if the issue is theme related.
I tried both options, and the only thing that worked was actually disabling the Page Builder plugin. However, when I do that I lose my homepage layout, so that isn’t really an option.
Hi Hughesandco,
To confirm, does this issue occur if you temporarily switch to a different theme? I ask as I suspect this issue may be theme specific.
Can you please link me to the page this issue is occurring on?
The issues are happening on this site page: http://winesinniagara.staging.wpengine.com/2019/03/new-queenston-mile-winery-in-niagara-has-familiar-feel/
Hi Hughesandco,
Thank you for the link. Can you please confirm if this issue occurs while using a different theme?
Hi Alex,
Yes, it does – I switched to the Twenty Fifteen theme that is also on the website and I still had this issue. The only way I was able to resolve the issue was to disable the Page Builder plugin.
Hi Hughesandco,
Thanks for confirming.
Please open the linked page and switch to Text Mode. Do you see any references to SiteOrigin Page Builder (references to panels, grids, cells, SiteOrigin, etc)? I ask as it appears as though the linked page may have at one stage used Page Builder or parts of it was copied from a page that did.
Hi there,
I don’t have any references to SiteOrigin in this post, it is only text content. The Text Mode looks the same as past blogs, all of which render correctly. It is only the most recent blogs that do not.
Hi Hughesandco,
Thanks. Does this issue occur when the only plugin activated is Page Builder by SiteOrigin (all other plugins are deactivated)? If so, what version are you using? For reference, the latest version is 2.10.2.
Oh, and does this issue occur for any posts created while all plugins except for Page Builder by SiteOrigin are disabled?
Hi there,
Yes, even when all other plugins are disabled the error message still occurs. The only time it does not come up is when Page Builder is disabled.
I am running Version 2.10.2 of the Page Builder.
Hi Hughesandco,
Does this issue occur if you create a new post while all plugins except for Page Builder by SiteOrigin are disabled?
Hi there,
I just did a test blog with the plugin disabled and when I enabled the plugin again the content seems to show. So, it seems like it is just when content is created when the plugin is enabled.
Hi Hughesandco,
Thanks. Unfortunately, that suggests another plugin is causing this issue and it’s happening during post creation. This isn’t ideal, but please try running a plugin conflict test and each time you re-enable a plugin please create a new post. When this issue occurs again, please disable all plugins except the last activated plugin and SiteOrigin Page Builder. Does this issue still occur? If so, that plugin is causing the issue you’re facing.