Title: Fatal PHP error
Last modified: August 8, 2022

---

# Fatal PHP error

 *  [Erwin](https://wordpress.org/support/users/baksteen/)
 * (@baksteen)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/fatal-php-error-25/)
 * 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 4 years, 2 months ago by [Erwin](https://wordpress.org/support/users/baksteen/).
    -  This topic was modified 4 years, 2 months ago by [Erwin](https://wordpress.org/support/users/baksteen/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-php-error-25%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 32 total)

1 [2](https://wordpress.org/support/topic/fatal-php-error-25/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/fatal-php-error-25/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/fatal-php-error-25/page/2/?output_format=md)

 *  Plugin Author [Gustavo Bordoni](https://wordpress.org/support/users/bordoni/)
 * (@bordoni)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15420171)
 * hi [@baksteen](https://wordpress.org/support/users/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](https://wordpress.org/support/users/baksteen/)
 * (@baksteen)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15420730)
 * 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](https://wordpress.org/support/users/bordoni/)
 * (@bordoni)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15420988)
 * Uhnn I see,
 * This plugin “Transient Manager” is the best way to handle some of these problems.
 * [https://wordpress.org/plugins/transients-manager/](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](https://wordpress.org/support/users/baksteen/)
 * (@baksteen)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15421338)
 * 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](https://wordpress.org/support/users/bordoni/)
 * (@bordoni)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15421401)
 * 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/](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](https://wordpress.org/support/users/baksteen/)
 * (@baksteen)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15421544)
 * 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 4 years, 2 months ago by [Erwin](https://wordpress.org/support/users/baksteen/).
 *  Plugin Author [Gustavo Bordoni](https://wordpress.org/support/users/bordoni/)
 * (@bordoni)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15422228)
 * Perfect [@baksteen](https://wordpress.org/support/users/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
 *  [UMBC](https://wordpress.org/support/users/umbc/)
 * (@umbc)
 * [4 years ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15651257)
 * Wondering if there was a fix to this one. Same issue, same pantheon + TEC
 *  [cpiechotta](https://wordpress.org/support/users/cpiechotta/)
 * (@cpiechotta)
 * [4 years ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15655393)
 * 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 4 years ago by [cpiechotta](https://wordpress.org/support/users/cpiechotta/).
    -  This reply was modified 4 years ago by [cpiechotta](https://wordpress.org/support/users/cpiechotta/).
 *  Thread Starter [Erwin](https://wordpress.org/support/users/baksteen/)
 * (@baksteen)
 * [4 years ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15663338)
 * 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 [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * (@abzlevelup)
 * [4 years ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15669150)
 * Hi [@baksteen](https://wordpress.org/support/users/baksteen/) [@umbc](https://wordpress.org/support/users/umbc/)
   [@cpiechotta](https://wordpress.org/support/users/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](https://wordpress.org/support/users/baksteen/)
 * (@baksteen)
 * [4 years ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15669157)
 * [@abzlevelup](https://wordpress.org/support/users/abzlevelup/) ok, thanks for
   the update. Hope an update will come soon. Keeping the thread open 🙂 Good luck
 *  Plugin Support [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * (@abzlevelup)
 * [4 years ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15669172)
 * No worries, [@baksteen](https://wordpress.org/support/users/baksteen/). Appreciate
   you understanding. Will definitely update you soon.
 * Thank you so much,
    Abz
 * ________________________
 * Internal Bug Ticket Reference:
    TEC-4351
 *  [Brad Slusher](https://wordpress.org/support/users/bslush/)
 * (@bslush)
 * [4 years ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15679320)
 * 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/](https://uncorkedcanvas.com/events/)
 *  Plugin Support [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * (@abzlevelup)
 * [4 years ago](https://wordpress.org/support/topic/fatal-php-error-25/#post-15680326)
 * Hi [@bslush](https://wordpress.org/support/users/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)

1 [2](https://wordpress.org/support/topic/fatal-php-error-25/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/fatal-php-error-25/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/fatal-php-error-25/page/2/?output_format=md)

The topic ‘Fatal PHP error’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

## Tags

 * [cloudways](https://wordpress.org/support/topic-tag/cloudways/)
 * [redis](https://wordpress.org/support/topic-tag/redis/)

 * 32 replies
 * 14 participants
 * Last reply from: [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/fatal-php-error-25/page/3/#post-15804016)
 * Status: not resolved