Home>Support>Hero Widget showing an invalid argument?!

Hero Widget showing an invalid argument?!

Hello,

I have not seen this before. Yesterday when I tried to add a Hero Image the widget gave me an ‘invalid argument’ and wouldn’t update on the page.
This warning shows up inside the widget window just above the box that says – ‘Use theme font’ and the ‘Heading size’.

Warning: Invalid argument supplied for each () in home/fbraylso/public_html/itsmagneticmarketing.com/wp-content/plugins/so-widgets-bundle/base/inc.php on line 294

I updated all the plugins and theme just in case… I also tried to edit the site on Safari and Chrome with the same outcome.

Thanks for any insight you may have,
Michelle

URL: http://itsmagneticmarketing.com/seo-for-local-business

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

  1. 6 years, 2 months ago Andrew Misplon Hi, I Work Here

    Hi Michelle

    This sounds like it could be a plugin conflict issue. Can you try disabling all non-SiteOrigin plugins and see if this fixes the issue? 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.

  2. 6 years, 1 month ago MichelleEdward

    WOW! Sorry it took so long to get back to you on this. :(

    I have deactivated the plugins… and tried to put in a Hero Image and this is what I get:

    Warning: Invalid argument supplied for foreach() in /home/fbraylso/public_html/itsmagneticmarketing.com/wp-content/plugins/so-widgets-bundle/base/inc.php on line 294

    Warning: Cannot modify header information – headers already sent by (output started at /home/fbraylso/public_html/itsmagneticmarketing.com/wp-content/plugins/so-widgets-bundle/base/inc.php:294) in /home/fbraylso/public_html/itsmagneticmarketing.com/wp-admin/post.php on line 197

    Warning: Cannot modify header information – headers already sent by (output started at /home/fbraylso/public_html/itsmagneticmarketing.com/wp-content/plugins/so-widgets-bundle/base/inc.php:294) in /home/fbraylso/public_html/itsmagneticmarketing.com/wp-includes/pluggable.php on line 1228

    The plugins that I currently have installed that are active are: Active Plugins on Site

    Thanks for you help and Happy Holidays!

    Michelle

  3. 6 years, 1 month ago Greg Priday Hi, I Work Here

    Hi Michelle

    That’s a strange looking issue. From the looks of things, there might actually be a file missing. Would it be possible for you to reinstall the Widgets Bundle? You can just delete it, then reinstall it from the WordPress.org directory. This might do the trick.

  4. 6 years, 21 days ago MichelleEdward

    Okay, so I have finally been able to delete the widgets bundle plugin and re-install it.

    Then I edited a page to ‘test’ and this is what I’m getting:

    Warning: Invalid argument supplied for foreach() in /home/fbraylso/public_html/itsmagneticmarketing.com/wp-content/plugins/so-widgets-bundle/base/inc.php on line 294

    Warning: Cannot modify header information – headers already sent by (output started at /home/fbraylso/public_html/itsmagneticmarketing.com/wp-content/plugins/so-widgets-bundle/base/inc.php:294) in /home/fbraylso/public_html/itsmagneticmarketing.com/wp-admin/post.php on line 197

    Warning: Cannot modify header information – headers already sent by (output started at /home/fbraylso/public_html/itsmagneticmarketing.com/wp-content/plugins/so-widgets-bundle/base/inc.php:294) in /home/fbraylso/public_html/itsmagneticmarketing.com/wp-includes/pluggable.php on line 1228

    Not sure why the ‘header’ warning is coming up I have not changed anything that I can recall. Let me know if there is something I am missing.

    Thanks again,
    Michelle

  5. 6 years, 21 days ago Greg Priday Hi, I Work Here

    Hi Michelle

    So what appears to be happening is that a bug in our code is exposing the Google webfonts list to a filter that other plugins might be using to empty out the array.

    Either way, we’ve fixed this, and everything should be working properly in the next update.

    https://github.com/siteorigin/so-widgets-bundle/commit/bf4d98bbc413147e9fcae1430d0fd2f5d166f475

  6. 5 years, 3 months ago MichelleEdward

    UPdate:

    Yes, everything is working properly now with the updates.

    Thanks so much,
    Michelle

  7. 5 years, 3 months ago Andrew Misplon Hi, I Work Here

    Super :) Thanks for the update.

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