Notice: Undefined variable: cell in template_preprocess_calendar_month() (line 43 of /sites/all/modules/calendar/theme/theme.inc).
Notice: Undefined variable: cell in template_preprocess_calendar_month() (line 44 of /sites/all/modules/calendar/theme/theme.inc).

Comments

widodowirawan’s picture

Assigned:Unassigned» widodowirawan
bazzly’s picture

Same issue...and tried the link...(its a fresh install, all the modules at this point are on the dev release)

Okay..little more info. fresh install..
Using the dev release of Calendar I get this error below:

Warning: Illegal string offset 'data' in template_preprocess_calendar_month() (line 38 of /var/www/mysite/sites/all/modules/contrib/calendar/theme/theme.inc).
Warning: Illegal string offset 'data' in template_preprocess_calendar_month() (line 43 of /var/www/mysite/sites/all/modules/contrib/calendar/theme/theme.inc).

Doing a google on that error takes us here..
https://drupal.org/node/1591388

On number 4 it states to add the code below to line 37 and the above error goes away.
if (!isset($data['data'])) {
continue;
}

Once he code above is added we now have the error posted below.
Same error:
Notice: Undefined variable: cell in template_preprocess_calendar_month() (line 44 of /var/www/mysite/sites/all/modules/contrib/calendar/theme/theme.inc).
Notice: Undefined variable: cell in template_preprocess_calendar_month() (line 45 of

Seems the problem happens when I use the block, or try to see the year view.

If using a unmodified theme.inc, patch #12 from https://drupal.org/node/1471400 seems to fixed it..I think