• Recently began to have an issue with a page I made in WordPress for a client. The page is filled with text starting with:

    Warning: Invalid argument supplied for foreach() in /home3/wafqn20adn2i/public_html/wp-content/themes/dante/swift-framework/sf-content-display/sf-page-heading.php on line 59

    I have been seeing other posts dealing with this issue, but I am new to WP and not sure what I should be looking for in terms of fixing this. Is this something I can fix, or do I need to head to the theme’s developer?

    Any assistance is greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @ezwerk,

    Thank you for posting!

    If you have coded anything and then you are seeing this warning message then it will be helpful to solve your problem if you post your code snippet.

    Or if you haven’t done anything in code then it will be good to raise a support request to theme’s developer as this is an error from theme. They have supplied a wrong parameter to the foreach loop in php.

    Temporarily, you can also hide this warning message by setting ‘wp_debug’ to ‘false’ in your wp-config.php file.

Viewing 1 replies (of 1 total)
  • The topic ‘Invalid argument supplied for foreach()’ is closed to new replies.