lder. * * @return string HTML wrapper for the builder. */ public function builder_wrapper( $content ) { if ( get_the_ID() === $this->post_id ) { $document = Plugin::$instance->documents->get( $this->post_id ); $attributes = $document->get_container_attributes(); $content = '
'; } return $content; } /** * Enqueue preview styles. * * Registers all the preview styles and enqueues them. * * Fired by `wp_enqueue_scripts` action. * * @since 1.0.0 * @access private */ private function enqueue_styles() { // Hold-on all jQuery plugins after all HTML markup render. wp_add_inline_script( 'jquery-migrate', 'jQuery.holdReady( true );' ); Plugin::$instance->frontend->enqueue_styles(); Plugin::$instance->widgets_manager->enqueue_widgets_styles(); $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; $direction_suffix = is_rtl() ? '-rtl' : ''; wp_register_style( 'elementor-select2', ELEMENTOR_ASSETS_URL . 'lib/e-select2/css/e-select2' . $suffix . '.css', [], '4.0.6-rc.1' ); wp_register_style( 'editor-preview', ELEMENTOR_ASSETS_URL . 'css/editor-preview' . $direction_suffix . $suffix . '.css', [ 'elementor-select2', ], ELEMENTOR_VERSION ); wp_enqueue_style( 'editor-preview' ); if ( Plugin::instance()->get_legacy_mode( 'elementWrappers' ) ) { wp_register_style( 'editor-preview-legacy', ELEMENTOR_ASSETS_URL . 'css/editor-preview-legacy' . $direction_suffix . $suffix . '.css', [], ELEMENTOR_VERSION ); wp_enqueue_style( 'editor-preview-legacy' ); } /** * Preview enqueue styles. * * Fires after Elementor preview styles are enqueued. * * @since 1.0.0 */ do_action( 'elementor/preview/enqueue_styles' ); } /** * Enqueue preview scripts. * * Registers all the preview scripts and enqueues them. * * Fired by `wp_enqueue_scripts` action. * * @since 1.5.4 * @access private */ private function enqueue_scripts() { Plugin::$instance->frontend->register_scripts(); Plugin::$instance->widgets_manager->enqueue_widgets_scripts(); $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; wp_enqueue_script( 'elementor-inline-editor', ELEMENTOR_ASSETS_URL . 'lib/inline-editor/js/inline-editor' . $suffix . '.js', [], ELEMENTOR_VERSION, true ); /** * Preview enqueue scripts. * * Fires after Elementor preview scripts are enqueued. * * @since 1.5.4 */ do_action( 'elementor/preview/enqueue_scripts' ); } public function rocket_loader_filter( $tag, $handle, $src ) { return str_replace( 'frontend; if ( $frontend->has_elementor_in_page() ) { // Has header/footer/widget-template - enqueue all style/scripts/fonts. $frontend->wp_footer(); } else { // Enqueue only scripts. $frontend->enqueue_scripts(); } } /** * Preview constructor. * * Initializing Elementor preview. * * @since 1.0.0 * @access public */ public function __construct() { add_action( 'template_redirect', [ $this, 'init' ], 0 ); } }
Fatal error: Uncaught Error: Class 'Elementor\Preview' not found in /web/htdocs/www.meravigliedizioni.it/home/wp-content/plugins/elementor/includes/plugin.php:595 Stack trace: #0 /web/htdocs/www.meravigliedizioni.it/home/wp-content/plugins/elementor/includes/plugin.php(514): Elementor\Plugin->init_components() #1 /web/htdocs/www.meravigliedizioni.it/home/wp-includes/class-wp-hook.php(287): Elementor\Plugin->init() #2 /web/htdocs/www.meravigliedizioni.it/home/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #3 /web/htdocs/www.meravigliedizioni.it/home/wp-includes/plugin.php(484): WP_Hook->do_action() #4 /web/htdocs/www.meravigliedizioni.it/home/wp-settings.php(557): do_action() #5 /web/htdocs/www.meravigliedizioni.it/home/wp-config.php(92): require_once('/web/htdocs/www...') #6 /web/htdocs/www.meravigliedizioni.it/home/wp-load.php(37): require_once('/web/htdocs/www...') #7 /web/htdocs/www.meravigliedizioni.it/home/wp-blog-header.php(13): require_once('/web/htdocs/www...') #8 /web/htdocs/www.meravigliedizioni.it in /web/htdocs/www.meravigliedizioni.it/home/wp-content/plugins/elementor/includes/plugin.php on line 595
WordPress › Errore

Si è verificato un errore critico sul tuo sito web.

Scopri di più riguardo al debug in WordPress.