Whenever I make a content with date api, I got this. I have no idea what I did before. I am thinking of timezone issues but I think there is more.

Fatal error: Call to a member function getName() on a non-object in C:\xampp\htdocs\hris\sites\all\modules\date\date_api\date_api.module on line 278

Comments

liberatr’s picture

You should ask this question in the issue queue for the Date module: http://drupal.org/project/date

sokrplare’s picture

Just created this issue #1605158: Date Context:The DateTime object has not been correctly initialized by its constructor in date_context_date_condition->execute() since I was hitting the same error. If you can comment on the issue with what version of the Date module you're running that would be helpful. Hopefully we can solve it together!

vickey’s picture

Did you get solution to fix the date_api issue?