WordPress Common Issues

FIXED – “Fatal error: Uncaught Error: Class ‘Elementor\Scheme_Color’”

Need to fix Fatal error: Uncaught Error: Class ‘ElementorScheme_Color’

If you are using Elementor Page Builder and other related plugins that compliments Elementor you may be dealing with this fatal error.

Below is the full context of this fatal error. 

Fatal error: Uncaught Error: Class ‘ElementorScheme_Color’ not found

The good news is that we can give you the exact thing that you need to do to get this fixed quickly and your website functioning again.

  1. Create a new .php file in the wp-content/mu-plugins folder
  2. Add this code snippet below to the file you just created
<?php
/**
 * Plugin Name: Elementor Scheme_Color and Scheme_Typography Class Issue
 **/

namespace Elementor;

add_action(
  'plugins_loaded',
  function() {
    if ( ! class_exists( 'ElementorScheme_Color' ) ) {
      class Scheme_Color extends CoreSchemesColor {}
    }
  }
);
add_action(
  'plugins_loaded',
  function() {
    if ( ! class_exists( 'ElementorScheme_Typography' ) ) {
      class Scheme_Typography extends CoreSchemesTypography {}
    }
  }
);
?>

If you get stuck we have agents ready to jump into action right away to fix this for you so you do not have to do it yourself.

Take care and HAPPY PRESSING!

  1. This getting this error after follow the steps PHP Fatal error: Uncaught Error: Class “Elementor\Scheme_Color” not found

Leave a Reply

Your email address will not be published. Required fields are marked *

QUESTIONS