mber', 'Kirki_Field_Number' ], [ 'Kirki\Field\Palette', 'Kirki_Field_Palette' ], [ 'Kirki\Field\Repeater', 'Kirki_Field_Repeater' ], [ 'Kirki\Field\Dropdown_Pages', 'Kirki_Field_Dropdown_Pages' ], [ 'Kirki\Field\Preset', 'Kirki_Field_Preset' ], [ 'Kirki\Field\Select', 'Kirki_Field_Select' ], [ 'Kirki\Field\Slider', 'Kirki_Field_Slider' ], [ 'Kirki\Field\Sortable', 'Kirki_Field_Sortable' ], [ 'Kirki\Field\Typography', 'Kirki_Field_Typography' ], [ 'Kirki\Field\CSS\Typography', 'Kirki_Output_Field_Typography' ], [ 'Kirki\Field\Upload', 'Kirki_Field_Upload' ], ], 'customizer' => [ [ 'Kirki\Control\Base', 'Kirki_Control_Base' ], [ 'Kirki\Control\Base', 'Kirki_Customize_Control' ], [ 'Kirki\Control\Checkbox', 'Kirki_Control_Checkbox' ], [ 'Kirki\Control\Checkbox_Switch', 'Kirki_Control_Switch' ], [ 'Kirki\Control\Checkbox_Toggle', 'Kirki_Control_Toggle' ], [ 'WP_Customize_Code_Editor_Control', 'Kirki_Control_Code' ], [ 'Kirki\Control\Color', 'Kirki_Control_Color' ], [ 'Kirki\Control\Color_Palette', 'Kirki_Control_Color_Palette' ], [ 'WP_Customize_Cropped_Image_Control', 'Kirki_Control_Cropped_Image' ], [ 'Kirki\Control\Custom', 'Kirki_Control_Custom' ], [ 'Kirki\Control\Dashicons', 'Kirki_Control_Dashicons' ], [ 'Kirki\Control\Date', 'Kirki_Control_Date' ], [ 'Kirki\Control\Dimension', 'Kirki_Control_Dimension' ], [ 'Kirki\Control\Editor', 'Kirki_Control_Editor' ], [ 'Kirki\Control\Generic', 'Kirki_Control_Generic' ], [ 'Kirki\Control\Image', 'Kirki_Control_Image' ], [ 'Kirki\Control\Multicheck', 'Kirki_Control_Multicheck' ], [ 'Kirki\Control\Generic', 'Kirki_Control_Number' ], [ 'Kirki\Control\Palette', 'Kirki_Control_Palette' ], [ 'Kirki\Control\Radio', 'Kirki_Control_Radio' ], [ 'Kirki\Control\Radio_Buttonset', 'Kirki_Control_Radio_Buttonset' ], [ 'Kirki\Control\Radio_Image', 'Kirki_Control_Radio_Image' ], [ 'Kirki\Control\Radio_Image', 'Kirki_Controls_Radio_Image_Control' ], [ 'Kirki\Control\Repeater', 'Kirki_Control_Repeater' ], [ 'Kirki\Control\Select', 'Kirki_Control_Select' ], [ 'Kirki\Control\Slider', 'Kirki_Control_Slider' ], [ 'Kirki\Control\Sortable', 'Kirki_Control_Sortable' ], [ 'Kirki\Control\Upload', 'Kirki_Control_Upload' ], [ 'Kirki\Settings\Repeater', 'Kirki\Settings\Repeater_Setting' ], [ 'Kirki\Settings\Repeater', 'Kirki_Settings_Repeater_Setting' ], [ 'WP_Customize_Section', 'Kirki_Sections_Default_Section' ], [ 'Kirki\Section_Types\Expanded', 'Kirki_Sections_Expanded_Section' ], [ 'Kirki\Section_Types\Nested', 'Kirki_Sections_Nested_Section' ], [ 'Kirki\Section_Types\Link', 'Kirki_Sections_Link_Section' ], [ 'Kirki\Panel_Types\Nested', 'Kirki_Panels_Nested_Panel' ], ], ]; /** * Constructor. * * @access public * @since 0.1 */ public function __construct() { $this->add_aliases(); add_action( 'customize_register', [ $this, 'add_customizer_aliases' ] ); } /** * Adds object aliases. * * @access public * @since 0.1 * @return void */ public function add_aliases() { foreach ( $this->aliases['generic'] as $item ) { if ( class_exists( $item[0] ) ) { class_alias( $item[0], $item[1] ); } } } /** * Adds object aliases for classes that get instantiated on customize_register. * * @access public * @since 0.1 * @return void */ public function add_customizer_aliases() { foreach ( $this->aliases['customizer'] as $item ) { if ( class_exists( $item[0] ) ) { class_alias( $item[0], $item[1] ); } } } }
Fatal error: Uncaught Error: Class "Kirki\Compatibility\Aliases" not found in /htdocs/wp-content/plugins/kirki/inc/bootstrap.php:15 Stack trace: #0 /htdocs/wp-content/plugins/kirki/kirki.php(44): require_once() #1 /htdocs/wp-settings.php(526): include_once('/htdocs/wp-cont...') #2 /htdocs/wp-config.php(85): require_once('/htdocs/wp-sett...') #3 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #4 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #5 /htdocs/index.php(17): require('/htdocs/wp-blog...') #6 {main} thrown in /htdocs/wp-content/plugins/kirki/inc/bootstrap.php on line 15