Trying to get property of non-object
-
Hello,
Revisiting a development site after a break of a few months, and having upgraded to version 2.0.7 on WordPress 4.0, I noticed that calendar pages were all displaying the warning notice:
Notice: Trying to get property of non-object in … /wp-content/plugins/google-calendar-events/includes/class-gce-display.php on line 218
I was getting it once per call to a feed on the page. A bit of testing suggests the issue is simply that there weren’t any events to be processed on the feeds in question, with the cure simply being to edit the feeds so they look back several months to when there were some events defined from my earlier development work.
So not a massive problem, but worth a mention I feel, especially for those of us with rather empty diaries.
Graham
https://www.ads-software.com/plugins/google-calendar-events/
- The topic ‘Trying to get property of non-object’ is closed to new replies.