It looks like the 5.x-2.x-dev version of the event module stores values in event_range_prev and event_range_next that are arrays like you'd get from date_parse() as opposed to just integer timestamps.

This is causing a problem in event_views_views_tables():
* warning: date() expects parameter 2 to be long, array given in drupal/modules/event/contrib/event_views/event_views.module on line 38.

The attached patch seems to fix the problem.

Comments

HorsePunchKid’s picture

Status: Active » Needs review
StatusFileSize
new1.03 KB

Previous patch got rid of the error but surely did not behave correctly.

killes@www.drop.org’s picture

Status: Needs review » Fixed

applied

Anonymous’s picture

Status: Fixed » Closed (fixed)
socialnicheguru’s picture

subscribing.

i got this error when i upgraded event (2-dev) but did not upgrade date (1.8)