• 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, 8 months ago by Erwin.
    • This topic was modified 2 years, 8 months ago by Erwin.

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

Viewing 15 replies - 16 through 30 (of 32 total)
  • Hi there,
    We’re having the same issue with Redis / Events Calendar Pro.
    Unfortunately we’ve only been able to turn off Object Cache Pro across the entire server, which is far from ideal. Please resolve this ASAP.
    Cheers,
    Clay

    Plugin Support Abz

    (@abzlevelup)

    Hi @clayray,

    Thanks for reaching out. Sorry to hear about this.

    I already added your case to our existing internal bug. I checked the status of the bug fix, and it is now in “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

    I know it was mentioned that this is in “QA”, but wanted to share that I have the same issue with Cloudways Digital Ocean and their default configuration for WordPress which is Redis enabled by default.

    I hope a fix comes soon!

    Plugin Support Abz

    (@abzlevelup)

    Hi @cesgarma, thanks for reaching out to us. Sorry to hear that you’re also having this issue. I already added your case to our ticket, and we’d notify you in this thread when there are updates about the bug.

    Yes, we’re working hard to release the fix as soon as possible.

    Have a great day, Cesar.

    Best,
    Abz
    ________________________

    Internal Bug Ticket Reference:
    TEC-4351

    Plugin Support Erica

    (@eeide)

    Hi @baksteen, @bslush, @umbc, and @cpiechotta,

    Our team has found a workaround for this issue related to the High-Performance configuration.

    In your wp-config.php file, remove the following settings from the WP_REDIS_CONFIG constant:

    'compression' => 'zstd',
    'serializer' => 'igbinary',

    Once these are removed, it should work as expected.

    Please let us know how it goes!

    Thank you,
    Erica

    Following.

    I have the same issue. The site is hosted at cloudways / vultr hf. Also have Redis and Varnish installed and running, along with the Breeze plugin.

    I removed that piece of code that Erica mentioned and the site immediately threw a critical error whitepage at me.

    Disabling the plugin and removing links to event pages from the menu until it plays nicely with vultr hf.

    Also wanted to mention that with the plugin enabled it slowed both the admin and frontend way down. Even with the google maps integration unchecked. Feeling very relieved to see my gtmetrix score come back up, ha ha.

    The Events Calendar looks like a fantastic plugin, and I hope you guys are able to sort out a fix that works with these servers!

    Same issue. following

    Plugin Support Erica

    (@eeide)

    Hi @cowbelly ,

    Sorry about that — in some cases, removing those two lines triggered another error. Instead, please add the following code to your wp-config.php file:

    define('WP_REDIS_CONFIG', [
        'compression' => 'none', 
    ]);
    define('WP_REDIS_CONFIG', [
        'serializer' => 'php', 
    ]);

    This should correct the issue until a more permanent solution is in place.

    Thank you,
    Erica

    @eeide, I implemented the REDIS configuration changes you suggested above, and enabled Object Cache Pro on my website. Everything seems to be working properly now. I’m not sure how much performance is reduced by disabling compression and modifying the serializer.

    Plugin Support Abz

    (@abzlevelup)

    Hi @bslush, that’s good to know that it is now working on your end. That’s a good take. However, as far as I know, there shouldn’t be as it should be optimized. But you could check in a couple of weeks or days and let us know if there are.

    Have a great weekend, Brad.

    Best,
    Abz

    @eeide @abzlevelup , After enabling Object Cache Pro, with the updated REDIS configuration above, things appeared to work well – but – just discovered today that the Tribe Admin Manager will no longer load. I get the following error:

    When going to:
    https://uncorkedcanvas.com/wp-admin/edit.php?post_type=tribe_events&page=tribe-admin-manager

    Service Unavailable
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

    When I turn off Object Cache Pro, it loads fine.

    Plugin Support Erica

    (@eeide)

    Hi @bslush,

    Sorry to hear that! This is a known conflict between Redis Object Cache and the Events Manager feature of our plugin. For now, the only workarounds are to either disable Object Cache, or to not use the Events Manager.

    While I don’t have an exact ETA on the fix, it’s currently in QA testing. We’ll be sure to update this thread once a fix is released. Thanks for your patience!

    Thank you,
    Erica

    ________________________

    Internal Bug Ticket Reference:
    ECP-1029

    Thread Starter Erwin

    (@baksteen)

    @eeide @abzlevelup thanks for a temporary kinda solution (don’t have to disable Redis server wide). It’s not perfect, but it’s something at least. Hope the fix will get through QA asap.

    Plugin Support Abz

    (@abzlevelup)

    Hi @baksteen, glad that the temp solution/workaround works on your end. Rest assured that this is on our radar and we’d be notifying you in this ticket when there are updates.

    Have a great day, Erwin.

    Best,
    Abz
    ________________________

    Internal Bug Ticket Reference:
    ECP-1029

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