• Hi there.
    I am using a theme to build a site with portfolio. when I enter a new portfolio item I get an error message. changing the porfolio setting only changes the line number in the error message. Interestingly numbers are always 6 units apart meaning if the first warning is on line 212 the next one is on 218 and so. here is a copy of the warning:
    Warning: Invalid argument supplied for foreach() in /home/content/52/10140652/html/website/wp-content/themes/builder/portfolio_.php on line 69

    Warning: Invalid argument supplied for foreach() in /home/content/52/10140652/html/website/wp-content/themes/builder/portfolio_.php on line 75

    to see the page go to: https://test.usscalbuilders.com/website/portfolio/

  • The topic ‘Foreach() warning’ is closed to new replies.