Naar de hoofdinhoud
Alle collectiesArtikelen en how to's
Class ‘Elementor\Scheme_Color’ not found

Class ‘Elementor\Scheme_Color’ not found

Meer dan 3 maanden geleden bijgewerkt

Mocht je na een Elementor update tegen de foutmelding Class ‘Elementor\Scheme_Color’ not found aan te lopen ?

Dan kun je de volgende oplossing gebruiken:

Maak een bestand aan in wp-content/mu-plugins
Plaats in dit bestand de volgende code:

<?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 {}
}
}
);
Was dit een antwoord op uw vraag?