I get the following errors when clicking on group calendar from an organic group page:

warning: Missing argument 4 for theme_event_calendar_month() in /htdocs/castaways/sites/all/modules/event/event.theme on line 15.
warning: Missing argument 5 for theme_event_calendar_month() in /htdocs/castaways/sites/all/modules/event/event.theme on line 15.

CommentFileSizeAuthor
#1 event.theme__0.patch727 bytesdarren oh

Comments

darren oh’s picture

Title: errors when opending calendar » Error in Event API month view
Project: OG Calendar » Event
Version: 5.x-1.0 » 5.x-1.x-dev
Category: support » bug
Status: Active » Needs review
StatusFileSize
new727 bytes

theme_event_calendar_month() requires values for $attributes and $caption, but event_get_calendar() does not provide them. The attached patch makes these values optional.

Rob T’s picture

Title: Error in Event API month view » This patch worked for me

This patch worked for me in getting rid of the error message.

darren oh’s picture

Title: This patch worked for me » Error in Event API month view
Status: Needs review » Reviewed & tested by the community
gerhard killesreiter’s picture

Status: Reviewed & tested by the community » Fixed

applied to 5.1 and 5.2

killes@www.drop.org’s picture

Status: Fixed » Closed (fixed)