CharlesMx/mxCalendar — Issue #3: Output broken
Author: noahlearner
Created: 2012-01-13 13:54:11+00:00
State: open

Hey CHarles,

This is the out when I go to view event for first time in front end.

Filtering calendar date SQL range with: 01/01/2012 through 02/12/2012

SQL: SELECT mxCalendarEvents.*, CategoryId.name AS category, CategoryId.foregroundcss, CategoryId.backgroundcss, CategoryId.inlinecss FROM `modx_mxcalendars_events` AS `mxCalendarEvents` JOIN `modx_mxcalendars_categories` `CategoryId` ON `mxCalendarEvents`.`categoryid` = `CategoryId`.`id` WHERE ( `mxCalendarEvents`.`repeating` = 0 AND `mxCalendarEvents`.`enddate` >= 1325376001 AND `mxCalendarEvents`.`enddate` <= 1329004801 OR ( `mxCalendarEvents`.`repeating` = 1 AND `mxCalendarEvents`.`repeatenddate` >= 1325376001 ) ) ORDER BY name DESC LIMIT 99

Returned Events: 1

Fatal error: Call to undefined method DateTime::diff() in xxxxxxxxxx/core/cache/includes/elements/modsnippet/136.include.cache.php on line 123

-Noah