Home>Support>Error when updating/previewing a page using So Widget Bundle

Error when updating/previewing a page using So Widget Bundle

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,

I am getting a warning error message every time I try to update a page or preview a page, which is causing some strange behavior. See below:

Warning: Invalid argument supplied for foreach() in /homepages/6/d688408066/htdocs/clickandbuilds/Forma/wp-content/plugins/so-widgets-bundle/so-widgets-bundle.php on line 526

Warning: Cannot modify header information - headers already sent by (output started at /homepages/6/[sitelocation]/htdocs/clickandbuilds/[sitename]/wp-content/plugins/so-widgets-bundle/so-widgets-bundle.php:526) in /homepages/6/[sitelocation]/htdocs/clickandbuilds/[sitename]/wp-includes/pluggable.php on line 1210

I have looked at the source code and can see that it is the activate_widget() function which is causing it to fail. More specifically, this line:

foreach( $this->widget_folders as $folder )

How can I fix this as I am unable to debug the source code directly – please could anyone point me in the right direction?

Thank you.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 8 months ago Alex S
    Hi, I Work Here

    Hi Bex,

    We’re unable to replicate this issue. I suspect this is a plugin conflict issue. 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 you aren’t using a SiteOrigin theme, then you can also try temporarily switching to one of the default WordPress themes to see if the issue is theme related.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More