Home / Forums / DynamiX Support / Warning: Invalid argument supplied for foreach

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts

  • Nina Bos
    Participant

    Warning: Invalid argument supplied for foreach() in /home4/corr/public_html/wp-content/themes/DynamiX/blog.php on line 49

    This is the message that appears on our blog now
    http://dubrovnikweddings.com/blog-dubrovnik-weddings/

    Can you understand why this happens?

    Kind regards,

    Andy
    Andy
    Keymaster

    Hi Nina,

    Please try re-saving that page and I believe this will resolve it.


    Nina Bos
    Participant

    Morning Andy,

    thank you. Your advice worked.
    Now I seem to be having both the main as well as the blog menu disappear. I deleted cache. I refreshed. Checked menu in appearances and checked if menus were linked to correct pages.
    ??
    I’m at a loss.

    Andy
    Andy
    Keymaster

    Hi Nina,

    Can you post your WP login details please ( click the “Set as private reply” ). I’ll take a look for you and see why that may have happened.

    In the meantime, it’s worth checking if disabling all plugins ( apart from Visual Composer ) does anything to resolve the issue.


    Nina Bos
    Participant
    This reply has been marked as private.
    Andy
    Andy
    Keymaster

    Hi Nina,

    There was no menu set via Appearance > Menus > Manage Locations. The only time this will reset is if the Theme folder is changed ( WP thinks it’s a different theme and resets the Menu locations ).

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.