Hi @nickfmc, appreciate the additional information here, this is really helpful. I would also share this with the team.
Hang in there.
Best,
Abz
________________________
Internal Bug Ticket Reference:
BTRIA-1429
Just confirming we have experienced this exact problem today with Toolset Blocks (the more modern version of Views) and TEC in combination when trying to render Events posts using legacy Views mode. All the errors as described here, with no View output. Very much hoping there will be a resolution!
Hi @bookswarm, appreciate you sharing more information here. I already added your case to the existing bug ticket. I am unable to provide an exact date or time estimate for when this bug will be fixed, but you’ll be notified when there are any updates.
If you do have other concerns or issues you need help with, please create another ticket, as it helps us track different issues.
Again, thank you for your patience. Hang in there.
Best,
Abz
________________________
Internal Bug Ticket Reference:
BTRIA-1429
Hi there,
With our latest release of The Events Calendar, we resolved some critical errors regarding some deprecated functions.
As always, we suggest testing updates on a staging site first and having a recent backup, but it should all be smooth sailing. If you implemented any workarounds, you can remove them after updating the plugins.
If you still have issues after updating to the latest releases, please open a new forum thread and include any specific details and screenshots if possible.
Have a great day,
Gladys
Hi @greventscalendar,
Unfortunately, this didn’t solve the problem. I’m still getting the following error:
`Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘Tribe__Events__Query’ does not have a method ‘pre_get_posts’ in /home/customer/www/[domain]/public_html/wp-includes/class-wp-hook.php on line 308′
Karl
Hi @harbormark, sorry to hear about this. I am not entirely sure why is that still happening on your end. I suspect that you’re using PHP 8? If so could you try downgrading to 7.4?
Let me know how it goes.
Best,
Abz
No, I’m running PHP 7.4 🙁
Same here: Getting the same error on our site with Toolset and Events Calendar (running on PHP 8.0, latest update of Events Calendar 6.0.4 and Toolset).
Hi @harbormark @martinpanzerschmidt, sorry to hear about this it seems like there are a couple of users having this issue as well. We’re trying to figure out another scenario in which this has been reoccurring and the details you guys shared here in regards to Toolset the error log is helpful.
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘Tribe__Events__Query’ does not have a method ‘pre_get_posts’ in /home/customer/www/[domain]/public_html/wp-includes/class-wp-hook.php on line 308
I’d definitely pas this along with our team and devs to look at this and investigate further.
Apologies for the inconvenience. Hang in there.
Best,
Abz
________________________
Internal Bug Ticket Reference:
TEC-4540
Hi there,
We’re back with good news for you.
The issue where the pre_get_post function was causing some PHP warning messages was finally fixed!
Please update the free Events Calendar plugin to version 6.0.6 to apply that fix to your site.
You can also read all other details about that version in our Release notes at https://theeventscalendar.com/release-notes/the-events-calendar/the-events-calendar-6-0-6/.
Best Regards,
It looks like the last update (6.0.6) solved this issue.
Thanks much!!