I get this error when I try to edit a page with Elementor. If I turn off Event Espresso don’t get the message. Turn it back on and get the error. So it must be the event espresso plugin causing it.
[26-Feb-2022 17:09:02 UTC] PHP Deprecated: block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /var/www/wp-includes/functions.php on line 5691
[26-Feb-2022 17:09:02 UTC] PHP Deprecated: block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /var/www/wp-includes/functions.php on line 5691
Yes, this is from Event Espresso, or well a combination of EE using a hook that has now been deprecated and the server being set to display errors on the page rather than log them.
(It’s enabled within the sites wp-config.php file if it is, ideally you want that disabled on the production site so errors aren’t shown to users. That doesn’t ‘fix’ the notices but it does stop it from being displayed on the page)
I’ll create a ticket for us to switch over to the new hook and prevent that notice from happening in a future version.
Viewing 1 reply thread
The support post ‘block_categories is deprecated’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.