Istiak Mahmood
Istiak Mahmood

Reputation: 2422

deprecated: elementor error Wordpress site

I am new to WordPress. These are the version I am using -

Wordpress version: 5.7.1

Theme Name: Saasland

And I am receiving this error message-

Deprecated: Elementor\Scheme_Typography is deprecated since version 2.8.0! Use Elementor\Core\Schemes\Typography instead. in /customers/a/a/5/test.com/httpd.www/wp-includes/functions.php on line 5051

And here is the code from the functions.php

                $replacement
            ) . $message,
            E_USER_DEPRECATED (##line 5051)
        );
    } else {

I have tried to google a lot but didn't manage to find any solution to this matter. Does anyone know any possible solution?

Upvotes: 0

Views: 13210

Answers (3)

Shubham Prajapati
Shubham Prajapati

Reputation: 71

The Deprecated Notice is shown because of an Elementor related plugin/addon. To get rid of the message, you can find the plugin and deactivate it, you can to wait for an update of the plugin or change your setting in wp-config.php:

define('WP_DEBUG', 'true');

 
define( 'WP_DEBUG_LOG', true );
 
define( 'WP_DEBUG_DISPLAY', false );

@ini_set( 'display_errors', 0 );

Hope it will solve your issues.

Upvotes: 1

Error like this Elementor\Scheme_Typography is deprecated since version 2.8.0! Use Elementor\Core\Schemes\Typography instead

Add use class in your PHP file like this

example:- use Elementor\Core\Schemes\Typography as Scheme_Typography;

Upvotes: 0

Fleks
Fleks

Reputation: 383

The Deprecated Notice is shown because of an Elementor related plugin/addon. To get rid of the message, you can find the plugin and deactivate it, you can to wait for an update of the plugin or change your setting in wp-config.php:

define( 'WP_DEBUG', true );
error_reporting(E_ALL ^ E_DEPRECATED);

OR

define( 'WP_DEBUG', false );

Upvotes: 7

Related Questions