I think this began after upgrading to 6.x.-2.4. Started to get an error like (and lots of them) this:
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/afc24onl/public_html/modules/calendar/theme/theme.inc on line 451.
Updated all modules to current. Still errored.
In looking at the code on line 451: $row['data']['all_day'] = array_merge($row['data']['all_date'], $item);
I think it should be changed to (replace all_date with all_day):
$row['data']['all_day'] = array_merge($row['data']['all_day'], $item);
That seemed to resolve it in dev here.
Karen and team, thanks for the great module, and from Minnesota no less!
Comments
Comment #1
jwero CreditAttribution: jwero commentedAlso, if you currently google "argument #1 is not an array in theme.inc on line 451." you'll see a few sites are failing on this.
Comment #2
Neslee Canil PintoThe D6 branch is no longer supported so we're closing this issue. If you think this issue still exists in D7 you can open a new one.