I get a page full of errors once the block is enabled on a fresh install. The calendar displays, but the legend block does not. This is without any calendar related entries whatsoever, i.e., from Debut Event after it's own fresh install. Other, possibly related modules for date/time, are Timefield, plus the expected Date and Date API, Date iCal, and Registration - with all of them being the latest dev versions.
Notice: Undefined index: calendar_colors_type in theme_calendar_stripe_legend() (line 660 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\calendar\theme\theme.inc).
Warning: array_key_exists() expects parameter 2 to be array, null given in theme_calendar_stripe_legend() (line 711 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\calendar\theme\theme.inc).
The notice line shows only once, followed by dozens of the warning messages. This was installed on a local server (Apache 2.2.1, PHP 5.3.1, mySql 5.1) running Commons-7.x-3.x-dev with it's D7.15 core.
I've been finding lots of undefined index errors with other modules, where the issue is usually not having 'isset' null checking, so I presume that may be the case here as well - but - the array_key kind of warning isn't something I've seen before.
Comments
Comment #1
dmetzcher CreditAttribution: dmetzcher commentedHave you figured out a solution for this?
Comment #2
rfulcher CreditAttribution: rfulcher commentedI am seeing the same issue.
Notice: Undefined index: calendar_colors_taxonomy in theme_calendar_stripe_legend() (line 660 of /Applications/MAMP/htdocs/backoffice/sites/all/modules/calendar/theme/theme.inc).
Notice: Undefined index: calendar_colors_taxonomy in theme_calendar_stripe_legend() (line 670 of /Applications/MAMP/htdocs/backoffice/sites/all/modules/calendar/theme/theme.inc).
Latest production version of views & cal.....(Not Dev)
Comment #3
rfulcher CreditAttribution: rfulcher commentedUpdated both Calendar & Date to dev. Resaved views, cleared cache, edited block. Same error occurs. Also the list to select the taxonomy group.
Thanks
Comment #4
Neslee Canil Pinto