Support » Theme: Avata » Invalid argument supplied for foreach() warning

  • Resolved spaldisa

    (@spaldisa)


    I updated my theme today and am now getting the following warning:
    Warning: Invalid argument supplied for foreach() in /home/gamingby/public_html/spaldingscott.com/wp/wp-content/themes/avata/functions.php on line 817

    The relevant line of code is:
    foreach( $sortsections_saved as $k=>$sortsection ){

    I’m not sure how to fix this. Is it a problem with the theme? I’ve checked all other potential updates and everything else is up-to-date. I searched online for the warning message, and someone suggested it was a plug-in conflict, which seems unlikely due to the warning being about sections, not plug-ins. I’m willing to experiment with those if anyone else thinks that holds promise.

    Let me know if i can provide any more information. Thanks in advance.

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

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