FIXED – “Fatal error: Uncaught Error: Class ‘Elementor\Scheme_Color'”
<?php
/**
* Plugin Name: Elementor Scheme_Color and Scheme_Typography Class Issue
**/
namespace Elementor;
\add_action(
'plugins_loaded',
function() {
if ( ! class_exists( 'Elementor\Scheme_Color' ) ) {
class Scheme_Color extends Core\Schemes\Color {}
}
}
);
\add_action(
'plugins_loaded',
function() {
if ( ! class_exists( 'Elementor\Scheme_Typography' ) ) {
class Scheme_Typography extends Core\Schemes\Typography {}
}
}
);
?>
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!
Pages: 1 2
2 Comments
Amazing. Worked like a Charm ! Thank you so much.
Our pleasure!