Trying to get property of non-object

Home Forums Calendar Products Events Calendar PRO Trying to get property of non-object

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #956418
    explorer
    Participant

    Hi,

    Our debug.log is full of this error message:

    PHP Notice:  Trying to get property of non-object in /xxxxxxx/wp-content/plugins/the-events-calendar/lib/tribe-templates.class.php on line 688
    

    Any idea what causes it?

    Thanks

    #956430
    George
    Participant

    Hey Martin,

    The troublesome line can be seen in full at this link → https://github.com/moderntribe/the-events-calendar/blob/release/117/lib/tribe-templates.class.php#L688

    So it seems that the $post variable isn’t an object, which means that the $post global isn’t being set properly or something – there are several things that could cause this, and if you are truly interested, you should run through the full set of troubleshooting steps we have outlined in this article and check on this issue after each step, and see if anything improves along the way → https://theeventscalendar.com/knowledgebase/testing-for-conflicts/

    The [relatively] good news, however, is that this is just a “notice”, not an outright error, so it really shouldn’t be causing any actual problems with functionality on your site – is this true? Or do you find actual problems when you try to view or use your events, as well?

    — George

    #984036
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Trying to get property of non-object’ is closed to new replies.