skip to Main Content

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: ElementorScheme_Typography is deprecated since version
2.8.0! Use ElementorCoreSchemesTypography 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?

3

Answers


  1. 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 );
    
    Login or Signup to reply.
  2. Error like this
    ElementorScheme_Typography is deprecated since version 2.8.0! Use ElementorCoreSchemesTypography instead

    Add use class in your PHP file like this

    example:-
    use ElementorCoreSchemesTypography as Scheme_Typography;

    Login or Signup to reply.
  3. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search