Drupal 6.24
PHP 5.3.10
Views 6.x-2.16
Litecal 6.x-1.0

Using a style 'litecal' in any views and passing the argument for example '2012' we obtain the following for preview:

PHP Fatal error: Call to a member function add() on a non-object in /var/www/commons.dru/html/sites/all/modules/litecal/litecal_plugin_style_litecal.inc on line 186

Comments

adpo’s picture

same problem.

patricksettle’s picture

Priority: Critical » Normal

Right now litecal only supports the Month granularity on the argument date. The error received is due to invalid granularity being passed to the view (2012 vs 2012-7)

Should definitely fail nicer though.