Home Forums Event Espresso Premium Elementor Message Appearing On Top Of Web Page

Elementor Message Appearing On Top Of Web Page

Posted: January 19, 2023 at 9:59 am


January 19, 2023 at 9:59 am

The following message is appearing on our web page. How do I get get rid of it?
“Deprecated: Hook elementor/widgets/widgets_registered is deprecated since version 3.5.0! Use elementor/widgets/register instead. in /var/www/wp-includes/functions.php on line 5758”


  • Support Staff

January 19, 2023 at 2:31 pm

Hi there,

That’s a notice being thrown by elementor and there to ‘fix’ it, elementor need to update their code.

However, the fact that it is being displayed on the front end of the site means your server is set to display errors directly to the page, which isn’t great for production sites as warnings, notices, errors etc are common and as it is now will show up to your visitors.

Do you have FTP or File manager access to the site’s files?

If so the first thing to check is to look within wp-config.php and see if WP_DEBUG is enabled with:

define( 'WP_DEBUG', true );

Change that to:

define( 'WP_DEBUG', false );

Is the above then removed from the site?

Note the above doesn’t actually ‘fix’ anything, all it does is tell your server not to display those ‘errors’ directly on the page itself.

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso