Home>Support>Header logo missing from masthead and debug info printing to screen

Header logo missing from masthead and debug info printing to screen

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 team,

My site has recently encountered an issue whereby the site logo no longer appears in the header of the page. The following error is printed to the screen in its place:

Warning: Invalid argument supplied for foreach() in /var/sites/5/50yearstorm.co.uk/public_html/wp-content/plugins/so-widgets-bundle/so-widgets-bundle.php on line 785

Warning: count(): Parameter must be an array or an object that implements Countable in /var/sites/5/50yearstorm.co.uk/public_html/wp-content/themes/vantage/functions.php on line 321

I’m using the Vantage theme with the Site Origin widgets bundle, both are up to date, as is WordPress. I have also tried updating the PHP version on my server to 7.4 which hasn’t fixed the issue.

I’m at a loss as to what the issue is, though the warnings suggest it’s between Vantage and the Site Origin widgets bundle. Any help would be greatly appreciated.

The site is https://50yearstorm.co.uk

Many thanks in advance,

Andy

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

  1. 4 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Hi Andy

    Thanks for reaching out.

    Do you have FTP access to your server? If not, most hosts offer a file manager. If possible, it’s best to download and edit your wp-config.php file which is in the WordPress root folder and change WP_DEBUG from true to false. If you’re troubleshooting an issue you can set debug to true but usually, for a live site, you’ll set it to false or at least set error display to false which is another option.

    To resolve the logo issue, please, head to AppearanceWidgets, is there perhaps an empty widget in the Masthead widget area? The Masthead widget area replaces the contents of the header. If you remove the empty widget, the widget area will no longer display.

  2. 4 years, 9 months ago Andy

    Hi Andrew,

    Thanks so much for your help as
    I've been pulling my hair out over this!

    Weirdly there were no empty blocks in the masthead widget area, or nothing that WordPress would let me delete anyway. Though going via
    Appearance>customise>widgets>Masthead did show an empy container which I could delete there. Sure enough this fixed the issue.

    Thanks so much for your help!

    Andy

  3. 4 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Super, glad to hear that helped.

    As questions arise in the future, please, let us know.

    Cheers for now :)

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