Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
warning: Invalid argument supplied for foreach() in /Users/MyMac/Sites/drupal6.9/sites/all/modules/node_gallery/node_gallery.themes.inc on line 56.
What does that mean?
Comments
Comment #1
kmontyCan you fill us in on the status of error? What page(s) are you viewing when the error is logged? Any special configurations of the module? Anything else we should know?
I ask because I couldn't replicate the problem. Thanks.
Comment #2
kmontyIssue #368835: warnig, error etc... said "warning: Invalid argument supplied for foreach() in /home/www/tastyhabits.com/sites/all/modules/node_gallery/node_gallery.themes.inc on line 71."
Seems like there are issues surround the foreachs in function theme_gallery_teaser();
Original author stated it was during logout.
Comment #3
kmontyI believe this has been fixed, but feel free to reopen if anyone is still getting this error.