Critical Errors since Migrating Site
-
This is an odd one. I migrated the site from Siteground to Cloudways yesterday. Now it’s in the new location I have an issue with the Events List views once they’ve been accessed a couple of times (leads me to think it could be caching related).
So if I browse to here then click into the retreats section and back into here a few times – just browsing around like a normal visitor would it throws a critical error after a while and all events pages appear with the error after that.
https://www.crystalheaven.co.uk/events/category/workshop/listThe error in the logs is
2022-05-12T18:27:06+00:00 CRITICAL Uncaught Error: Call to a member function format() on null in /home/772107.cloudwaysapps.com/wcenwdmjmj/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Views/Traits/List_Behavior.php:121 Stack trace: #0 [internal function]: Tribe\Events\Views\V2\Views\List_View::Tribe\Events\Views\V2\Views\Traits\{closure}() #1 /home/772107.cloudwaysapps.com/wcenwdmjmj/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Views/Traits/List_Behavior.php(120): array_map() #2 /home/772107.cloudwaysapps.com/wcenwdmjmj/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 /home/772107.cloudwaysapps.com/wcenwdmjmj/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 /home/772107.cloudwaysapps.com/wcenwdmjmj/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Template_ in /home/772107.cloudwaysapps.com/wcenwdmjmj/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Views/Traits/List_Behavior.php on line 121
This is using the following display settings
Default stylesheet used for events templates – Tribe Events Styles
Events template – Default page
Use updated calendar designs – On
Default View – ListIf I switch to skeleton views it works, as do the month and day views. If anyone has any tips on how to work around this issue it would be much appreciated.
The page I need help with: [log in to see the link]
- The topic ‘Critical Errors since Migrating Site’ is closed to new replies.