warning: Invalid argument supplied for foreach() in

Created on 21 November 2007, over 17 years ago
Updated 20 February 2023, about 2 years ago

I get the following error on every page that uses the CCK 'image' type. I'm using imagecache, image field and cck along with views to create image galleries.

The taxonomy driven image gallery views seem to work ok. But clicking on the actual image node gives the error below:

    * warning: Invalid argument supplied for foreach() in /var/www/drupal-5.3-new/sites/all/modules/views/views_query.inc on line 81.
    * warning: Invalid argument supplied for foreach() in /var/www/drupal-5.3-new/sites/all/modules/views/views_query.inc on line 16.
    * warning: Invalid argument supplied for foreach() in /var/www/drupal-5.3-new/sites/all/modules/views/views_query.inc on line 195.

Not being a programmer, I'm not sure how to debug this? I've checked the views I've got set up and cannot see any errors, similarly I've checked the imagecache and cck image content type settings also.

🐛 Bug report
Status

Closed: duplicate

Version

1.6

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024