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.
just update to the lastest build of Date and i got this in my view preview and when i used that view in a panel:
warning: Invalid argument supplied for foreach() in sitename/sites/all/modules/date/date/date.module on line 696.
Comments
Comment #1
choster CreditAttribution: choster commentedI do not use panels, and am also seeing this error whenever a node with a date field is viewed, edited, or appears in a view. It is still present in the Nov 21 snapshot.
Comment #2
KarenS CreditAttribution: KarenS commentedThat line number does not match what is in the present snapshot, the new line number is 699, below some code to catch this error. So you must have an older version of the module before the error was fixed.
It was fixed on Nov 22, the timestamp of the latest version looks like:
// $Id: date.module,v 1.61.2.4.2.33 2008/11/22 14:28:26 karens Exp $
That change did not make it into the last release, I need to re-roll.