Immediately after installing and still persisting I get the following error message at the top of the Events Page:
Warning: Illegal string offset 'data' in template_preprocess_calendar_month() (line 38 of /home/public/profiles/openoutreach/modules/contrib/calendar/theme/theme.inc).
Warning: Illegal string offset 'data' in template_preprocess_calendar_month() (line 43 of /home/public/profiles/openoutreach/modules/contrib/calendar/theme/theme.inc).
Warning: Illegal string offset 'data' in template_preprocess_calendar_month() (line 38 of /home/public/profiles/openoutreach/modules/contrib/calendar/theme/theme.inc).
Warning: Illegal string offset 'data' in template_preprocess_calendar_month() (line 43 of /home/public/profiles/openoutreach/modules/contrib/calendar/theme/theme.inc).
Warning: Illegal string offset 'data' in template_preprocess_calendar_month() (line 38 of /home/public/profiles/openoutreach/modules/contrib/calendar/theme/theme.inc).
Warning: Illegal string offset 'data' in template_preprocess_calendar_month() (line 43 of /home/public/profiles/openoutreach/modules/contrib/calendar/theme/theme.inc).
Warning: Illegal string offset 'data' in template_preprocess_calendar_month() (line 38 of /home/public/profiles/openoutreach/modules/contrib/calendar/theme/theme.inc).
Warning: Illegal string offset 'data' in template_preprocess_calendar_month() (line 43 of /home/public/profiles/openoutreach/modules/contrib/calendar/theme/theme.inc).
Warning: Illegal string offset 'data' in template_preprocess_calendar_month() (line 38 of /home/public/profiles/openoutreach/modules/contrib/calendar/theme/theme.inc).
Warning: Illegal string offset 'data' in template_preprocess_calendar_month() (line 43 of /home/public/profiles/openoutreach/modules/contrib/calendar/theme/theme.inc).
Any ideas?
Comments
Comment #1
Steve -cc CreditAttribution: Steve -cc commentedComment #2
Mod74 CreditAttribution: Mod74 commentedHave a look at https://drupal.org/node/1471400
You want to make the change described in the third comment (#3) but note as per comment #75 the line is now 37.
This is how I changed mine, lines 35 - 41
This is all in the file:
profiles\openoutreach\modules\contrib\calendar\theme\theme.inc
As far as I know this is a PHP issue. You can actually ignore warnings, and switch them off on production sites.
Comment #3
Steve -cc CreditAttribution: Steve -cc commentedThanks
I think I will probably do as you suggest and "ignore warnings, and switch them off on production site" for the time being.
Steve
Comment #4
nedjoAppears to be a duplicate of #1471400: Warning: Illegal string offset 'data' in template_preprocess_calendar_month.
Comment #5
Steve -cc CreditAttribution: Steve -cc commentedHi nedjo
I switched off warnings on the site so haven't been seeing them but when I look at log messages they are still being thrown whenever someone accesses the events page.
I looked at https://drupal.org/node/1471400 and it appears that there is a patch to be applied.
Are you intending to apply that patch to a future OO release? or?
Steve
Comment #6
Steve -cc CreditAttribution: Steve -cc commentedAnything new on this. I am still getting these error messages
Steve
Comment #7
pimok3000 CreditAttribution: pimok3000 commented#2 works great, changed lines 35 - 41 as described , warning is gone.