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
48 Comments
Amazing. Worked like a Charm ! Thank you so much.
Our pleasure!
Really nice. Works with Elementor 3.6.6 and WP 6.0.
Thanks for share it.
Our pleasure!
Worked perfectly, thanks so much for sharing!
Glad it worked great!
I followed these steps but it didn’t fix the issue. If someone could help me that would be fabulous!
Hello
We can get this fixed for you with the service at https://www.wpfixit.com/fast-wordpress-support-service/
what should we name new .php folder?
You are not creating a folder. It is a PHP file and you can name it anything you want as long as it goes in the mu-plugins folder.
I love you guys. It worked smoothly. Thanks a lot!
Our pleasure!
Thank you.
It was a quick solution.
Glad we could help!
Thank you very much! Respect!
Our pleasure. Glad to help!
Hello, Thanks for sharing! What if I don’t have a “mu-plugins” folder, but only “plugins” ? Because it doesn’t seem to work then. Thank you!
Then you need to create the folder.
Magic?
Works great!
Thank you!
AWESOME SAUCE!!!
Thanks worked
Awesome!
Works, thank you
Awesome Sauce!
Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:\xampp\htdocs\winstonfour\wp-content\mu-plugins\fix.php on line 3
Not sure how to fix?
Hello Dean
We can fix it now with the service at https://www.wpfixit.com/fast-wordpress-support-service/.
This really helped me, thank you!
Our pleasure!
That was a huge help, thank you!
Glad to help!
You’re the B E S T!
Not as good as you… ;)
Thanks it worked perfectly for me
Awesome Sauce!
thank you so much , didnt even asked the questions.. Jusy read the comments and all done
Glad to help!
Amazing Amzing , Works like a charm .
Thanks very much
Sweetness pie… YUMMM!!!
Thank you so much. It worked. Thanks
Awesome sauce!
Glad to help!
You save my life. Thank you!
This acctually worked, thank you !
Our pleasure!
Thanks it worked perfectly for me
Excellent, worked a treat!
This getting this error after follow the steps PHP Fatal error: Uncaught Error: Class “Elementor\Scheme_Color” not found
We can fix this for you with the service at https://www.wpfixit.com/fast-wordpress-support-service/