• Resolved tezalsec

    (@tezalsec)


    Hi,

    could you please fix the causes of below php notices, they are seriously flooding my php error logs.

    Thank you.

    PHP NOTICES:

    [05-May-2022 06:24:15 UTC] PHP Notice: Trying to get property ‘post_modified’ of non-object in …/wp-content/plugins/the-events-calendar/src/Tribe/iCal.php on line 646

    [05-May-2022 06:24:15 UTC] PHP Notice: Trying to get property ‘post_date’ of non-object in …/wp-content/plugins/the-events-calendar/src/Tribe/iCal.php on line 647

    [05-May-2022 06:24:15 UTC] PHP Notice: Trying to get property ‘ID’ of non-object in …/wp-content/plugins/the-events-calendar/src/Tribe/iCal.php on line 688

    [05-May-2022 06:24:15 UTC] PHP Notice: Trying to get property ‘post_title’ of non-object in …/wp-content/plugins/the-events-calendar/src/Tribe/iCal.php on line 689

    [05-May-2022 06:24:15 UTC] PHP Notice: Trying to get property ‘post_content’ of non-object in …/wp-content/plugins/the-events-calendar/src/Tribe/iCal.php on line 691

    • This topic was modified 2 years, 10 months ago by tezalsec.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Abz

    (@abzlevelup)

    Hi @tezalsec,

    Thanks for reaching out to us. Sorry to learn about this issue you’re having.

    First, I would need more information here, for me to help you better. Could you provide me the following versions of the following?

    1. PHP
    2. WordPress
    3. The Events Calendar

    Lastly, could you make sure that WP_Debug is disabled? See the article here on how to disable: https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/.

    Looking forward to helping you solve this.

    Best,
    Abz

    Thread Starter tezalsec

    (@tezalsec)

    Hi Abz,

    PHP Version is 7.4.16
    Wordpress 5.9.3 (latest)
    TEC is version 5.14.2.1

    Debug log is enabled for dev purposes, but disabling that does not solve anything ?? Hope you find the issues. They weren’t there a year ago, so they must be caused by one of the latest versions.

    Thanks, Cheers.

    • This reply was modified 2 years, 10 months ago by tezalsec.
    Plugin Support Abz

    (@abzlevelup)

    Hi @tezalsec, thanks for providing me more information here. That’s not good, let me investigate further and rest assured I’d be sharing your case to the team as well.

    Moreover, could you provide me the direct URL to your website?

    I’d get back to you as soon as I know more. For now, as a workaround, please do revert to the last working version of the plugin and see if that works.

    Have a great day, and I appreciate your patience.

    Best,
    Abz

    Thread Starter tezalsec

    (@tezalsec)

    Thanks for investigating.

    Sharing a direct URL here is no option for me. Reverting is also no option for me.

    It’s not a super big issue though, they are just php notices, but i am sure your developers will want to solve this as they clog up the php error log.

    I can add the notices all refer to the use of iCal, which I have activated and have not performed any adjustments on.

    Thanks.

    Plugin Contributor Andras Guseo

    (@aguseo)

    Hi @tezalsec

    Do you know when, at what action are these notices generated?
    Is someone trying to get the ICS export from a calendar page for example?
    So far we’ve been unable to recreate this issue. Knowing when the errors happen might help us get closer a bit.

    You mentioned

    I can add the notices all refer to the use of iCal, which I have activated and have not performed any adjustments on.

    Can you share where and how you have activated the use of iCal?

    Thanks,
    Andras

    Plugin Support Abz

    (@abzlevelup)

    Hi @tezalsec,

    Since we haven’t heard from you in a while on this topic we will assume that the problem was fixed or is no longer applicable and with that I will mark this as resolved.

    If that is not the case, please let us know and we will gladly remove the “Resolved” tag and try to help you further. Or you can create a new topic with the problem if you prefer.

    Best Regards,
    Abz

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Flooding of PHP notices in error log’ is closed to new replies.