• I get a bunch of PHP errors and a final Fatal Error when viewing the events calendar page, the new V2 one. V1 works fine. I don’t get these errors anywhere else.

    Notice: Trying to get property ‘dates’ of non-object in
    …/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Views/Traits/List_Behavior.php on line 69

    Notice: Trying to get property ‘start_display’ of non-object in
    …/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Views/Traits/List_Behavior.php on line 69

    Notice: Trying to get property ‘dates’ of non-object in
    …/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Views/Traits/List_Behavior.php on line 121

    Notice: Trying to get property ‘start_display’ of non-object in
    …/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Views/Traits/List_Behavior.php on line 121

    Fatal error: Uncaught Error: Call to a member function format() on null in …/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Views/Traits/List_Behavior.php:121
    [internal function]: Tribe\Events\Views\V2\Views\List_View::Tribe\Events\Views\V2\Views\Traits\{closure}() #1 .../public_html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Views/Traits/List_Behavior.php(120): array_map() #2 .../public_html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Views/List_View.php(276): Tribe\Events\Views\V2\Views\List_View->setup_datepicker_template_vars() #3 .../public_html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/View.php(638): Tribe\Events\Views\V2\Views\List_View->setup_template_vars() #4 .../public_html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Template_ in

    Warning: Class __PHP_Incomplete_Class has no unserializer in
    …/public_html/wp-content/mu-plugins/redis-cache-pro/src/Connections/Connection.php on line 71

    I’ve disabled all plugins except Object Cache Pro and The Events Calendar. Doing a search on the unserializer error leads me to quite a few other site’s events calendar pages.

    More info: the Notice errors don’t always appear. Mostly when going from one page to another. The unserializer always appears.

    • This topic was modified 2 years, 1 month ago by Erwin.
    • This topic was modified 2 years, 1 month ago by Erwin.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 32 total)
  • Plugin Author Gustavo Bordoni

    (@bordoni)

    hi @baksteen,

    Ohh I see what is happening, I am so sorry that is happening to you, let me try ot get to the bottom of it with you.

    So this is a edge case that we’ve seen here and there with certain caching plugins specially around Redis.

    Our new views heavily rely on certain pieces of the caching environment to work faster than the old one.

    The best way we can start trying to debug is to try to first clear all transients, trying to update the Events (on the administration) that are causing this issue because what that does is clear internally the pointers that are being saved on Redis and some memory caching that can cause errors.

    Lastly saving settings and permalinks can also help.

    If none of that works let me know because if that is the case we might be dealing with a “real” bug that is unhandled with Views V2 standalone.

    I say a “real” bug because what is happening only happens when you migrate from Legacy to Updated Views with certain criteria of caching. Dont get me wrong we want to get to that bug and resolve but it ends up not bring on top of our priority list.

    best Regards,

    Thread Starter Erwin

    (@baksteen)

    Heya,

    Thanks for the fast response. Here’s what I did:
    I updated the events by pressing the update button. I don’t know if that’s enough? I don’t know which events cause the issue. How can I find out? What should I do to fix these events?

    I changed and saved the permalink structure.

    I don’t know how to clear transients.

    I saved the event settings. I have only been using the events plugin on this site for about a week.

    I’ve never used the V1 view before so I didn’t switch from legacy to V2 as far as I know.

    Plugin Author Gustavo Bordoni

    (@bordoni)

    Uhnn I see,

    This plugin “Transient Manager” is the best way to handle some of these problems.

    https://wordpress.org/plugins/transients-manager/

    If you remove the Object caching plugin does the bug go away?

    If yes, let me know and I can log the bug for our team to fix it. I can’t promise deadlines on that because there are tons of priorities.

    But I can for sure make suggestions on other Caching plugins that would do the same job without the problems.

    best regards,

    Thread Starter Erwin

    (@baksteen)

    Heya,

    The fast response is appreciated, thanks.

    I have installed the transients manager, deleted everything but could still reproduce the errors the same way as before.

    After disabling Redis/Object Cache Pro, I could not reproduce the errors anymore.

    Cheers

    Plugin Author Gustavo Bordoni

    (@bordoni)

    That is not super good, as caching plugins can be important.

    Since this is a Premium plugin we dont have access to the codebase just yet.

    If you dont mind reaching out to us on:

    https://theeventscalendar.com/support/

    And sharing the plugin zip that is causing the problem it would be amazing.

    Specifically ask people to make sure the ZIP finds me you can use my name and link to this thread.

    Once we have a Ticket registered on our Bug Tracker I will post here a reference you can use to track when the bug is resolved.

    Best Regards,

    Thread Starter Erwin

    (@baksteen)

    Thanks again for the reply.
    I’ve submitted a support question but I can’t open a ticket since I am only using the free version.
    Did get a request number so hope to hear from you soon. Thanks again for the swift response.

    • This reply was modified 2 years, 1 month ago by Erwin.
    Plugin Author Gustavo Bordoni

    (@bordoni)

    Perfect @baksteen! I will log the bug in our internal tracker later today.

    I can’t promise that our development team will be able to get to it right away since there a so many competing priorities but I will make sure that we have all we need to get it fixed.

    Best regards

    Wondering if there was a fix to this one. Same issue, same pantheon + TEC

    I’m experiencing the exact same thing and disabling Redis stopped this fatal error from happening, however this is not a solution it’s a terrible “workaround”.

    I didn’t migrate any views etc. as mentioned above, I simply started using the plugin and the Pro version.

    This issue really shouldn’t be marked at resolved, as it’s clearly not.

    • This reply was modified 1 year, 11 months ago by cpiechotta.
    • This reply was modified 1 year, 11 months ago by cpiechotta.
    Thread Starter Erwin

    (@baksteen)

    Hey guys,

    What’s going on with this issue? It’s still not solved, and it’s been almost 3 months.

    I don’t want to sound impatient, but 3 months is a bit long. I don’t want to switch to another caching plugin. Redis is fine. It’s the default caching from Cloudways (not a small player in the field).

    Surely, you have your priorities, but I’d rather switch to a different events plugin than to switch to another caching plugin, since Redis is integrated and optimized and all.

    Cheers

    Plugin Support Abz

    (@abzlevelup)

    Hi @baksteen @umbc @cpiechotta, our devs are still working on a fix, since there are a lot of things to consider in fixing the compatibility issue with Redis. I checked, the bug ticket is still in progress. Rest assured that we’ll be releasing the fix as soon as it is ready.

    I really do understand your frustrations and I know this is not a sufficient answer, but I do think it is better to be honest. Apologies for the inconvenience and having to experience this delay — I would keep this thread open.

    We appreciate your time and patience.

    Best,
    Abz

    ________________________

    Internal Bug Ticket Reference:
    TEC-4351

    Thread Starter Erwin

    (@baksteen)

    @abzlevelup ok, thanks for the update. Hope an update will come soon. Keeping the thread open 🙂 Good luck

    Plugin Support Abz

    (@abzlevelup)

    No worries, @baksteen. Appreciate you understanding. Will definitely update you soon.

    Thank you so much,
    Abz

    ________________________

    Internal Bug Ticket Reference:
    TEC-4351

    I can attest to having a similar problem. I can enable Object Cache Pro on my Cloudways hosted website, and the Events Calendar events page stops loading and renders a blank page. After I disable Object Cache Pro, the page renders.

    All the rest of the site pages render properly. The Object Cache is really necessary to get great performance and reduce load on the DB server.

    I’m getting the problem on this page: https://uncorkedcanvas.com/events/

    Plugin Support Abz

    (@abzlevelup)

    Hi @bslush, sorry to hear that you’re having this issue here. I already added your case to our existing internal bug. I checked the status of the bug fix, and it is now “Pending QA”. However, I am unable to provide you an exact date for when this feature will be available.

    Hang tight for now, and we’d notify this thread here as soon as there are updates.

    Best,
    Abz

    ________________________

    Internal Bug Ticket Reference:
    TEC-4351

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘Fatal PHP error’ is closed to new replies.