me Block type name including namespace. * @return bool True if the block type is registered, false otherwise. */ public function is_registered( $name ) { return isset( $name, $this->registered_block_types[ $name ] ); } public function __wakeup() { if ( ! $this->registered_block_types ) { return; } if ( ! is_array( $this->registered_block_types ) ) { throw new UnexpectedValueException(); } foreach ( $this->registered_block_types as $value ) { if ( ! $value instanceof WP_Block_Type ) { throw new UnexpectedValueException(); } } } /** * Utility method to retrieve the main instance of the class. * * The instance will be created if it does not exist yet. * * @since 5.0.0 * * @return WP_Block_Type_Registry The main instance. */ public static function get_instance() { if ( null === self::$instance ) { self::$instance = new self(); } return self::$instance; } }
Fatal error: Uncaught Error: Class "Elementor\Core\Editor\Promotion" not found in /htdocs/wp-content/plugins/elementor/core/editor/editor.php:533 Stack trace: #0 /htdocs/wp-content/plugins/elementor/includes/plugin.php(698): Elementor\Core\Editor\Editor->__construct() #1 /htdocs/wp-content/plugins/elementor/includes/plugin.php(621): Elementor\Plugin->init_components() #2 /htdocs/wp-includes/class-wp-hook.php(341): Elementor\Plugin->init('') #3 /htdocs/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array) #4 /htdocs/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #5 /htdocs/wp-settings.php(742): do_action('init') #6 /htdocs/wp-config.php(105): require_once('/htdocs/wp-sett...') #7 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #8 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #9 /htdocs/index.php(41): require('/htdocs/wp-blog...') #10 {main} thrown in /htdocs/wp-content/plugins/elementor/core/editor/editor.php on line 533