Skip Navigation

[Resolved] Error showing when using Toolset Views and Event Calendar Pro plugins

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by Paul Marconi 1 year, 11 months ago.

Author
Posts
#2556207
toolset view block.PNG

Hi,

I am getting this error below in the front-end and backend:

Deprecated: Function Tribe__Events__Query::pre_get_posts is deprecated since version 6.0.0! Use No replacement avaialble. instead. in /home/sprucedev/public_html/sites/rosetest/wp-includes/functions.php on line 5383

I am using this Toolset Views plugin to create a Resource filter, like on the homepage here:
hidden link

When I include this 'Toolset View' block (screenshot attached), the error shows up, but if I remove it from the block editor, the error is gone.

I have deactivated most of the plugins, keeping only:
-The Events Calendar (Version 6.0.9)
-The Events Calendar PRO (Version 6.0.8)
-Toolset Types (Version 3.4.17)
-Toolset Views (Version 3.6.5)

I also switched the theme to the WP 2022 theme, and it's still showing the error.

What is the issue?

I have also contacted the Event Calendar Pro support to see is it an issue on their end,

Thank you!

#2556515

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

This is a known issue and a fix will be released in a Views/Blocks update soon.

Please see this erratum for further details, including a workaround: https://toolset.com/errata/php-warning-after-updating-the-events-calendar-to-version-6/

#2558787

Thank you Nigel! I will give this a try!