• Resolved Singer_Of_Songs

    (@singer_of_songs)


    Hello knowledgeable people!

    Need some fairly urgent help if possible please:

    Had a theme installed etc and all ready to go, but thought I would install another just to see if I could utilise the demo content of a slider rather than spending ages recreating things…

    And now i’m getting:

    “Warning: Invalid argument supplied for foreach() in /home2/ftbmedia/public_html/cadco-financial.com/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php on line 245

    Warning: Invalid argument supplied for foreach() in /home2/ftbmedia/public_html/cadco-financial.com/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php on line 245

    Warning: Invalid argument supplied for foreach() in /home2/ftbmedia/public_html/cadco-financial.com/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php on line 245

    Warning: Invalid argument supplied for foreach() in /home2/ftbmedia/public_html/cadco-financial.com/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php on line 245

    Warning: Invalid argument supplied for foreach() in /home2/ftbmedia/public_html/cadco-financial.com/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php on line 245

    Warning: Invalid argument supplied for foreach() in /home2/ftbmedia/public_html/cadco-financial.com/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php on line 245

    Warning: Invalid argument supplied for foreach() in /home2/ftbmedia/public_html/cadco-financial.com/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php on line 245″

    I have tried switching back to the original theme, deleting the newer theme and all the menus related to it etc, but still no luck.
    I think it’s something to do with a header and probably really simple – but I’m not great with coding so if anyone could help that would be amazing!

    Many thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You’ll need to deactivate that theme and/or plugin manually using FTP or Cpanel to access your site files on the server – ask your hosts how to use those if you don’t know.

    Find the themes folder here:

    wp-content
         themes
             FIND THE ONE YOU ACTIVATED AND DELETE IT

    if that doesn’t work, deactivate the plugin causing those errors:

    wp-plugins
          js_composer - RENAME OR DELETE THIS FOLDER

    Thread Starter Singer_Of_Songs

    (@singer_of_songs)

    Also this comes up if I try and adjust theme settings etc:

    Warning: Cannot modify header information – headers already sent by (output started at /home2/ftbmedia/public_html/cadco-financial.com/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php:245) in /home2/ftbmedia/public_html/cadco-financial.com/wp-includes/pluggable.php on line 1178

    Thread Starter Singer_Of_Songs

    (@singer_of_songs)

    Hi WPyogi,

    Thanks for your quick response – you star!

    yep I have access via cPanel etc – and have checked and the theme is deleted – so I will go with the plugin route.

    That may fix it, but out of interest, any view of what would cause that second warning?

    Thanks

    A conflict with the theme you activated possibly.

    Thread Starter Singer_Of_Songs

    (@singer_of_songs)

    Was a conflict with a custom change to the Js composer plugin from the other theme as you suspected. Many thanks for your help WPyogi – much appreciated.

    No problem – glad you got it sorted :)!

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