rl( $library->get_admin_url( 'authorize', [ 'utm_source' => 'template-library', 'utm_medium' => 'wp-dash', 'utm_campaign' => 'library-connect', 'utm_content' => 'cloud-library', 'source' => 'cloud-library', ] ) ), 'library_connect_title_copy' => esc_html__( 'Connect to your Elementor account', 'elementor' ), 'library_connect_sub_title_copy' => esc_html__( 'Then you can find all your templates in one convenient library.', 'elementor' ), 'library_connect_button_copy' => esc_html__( 'Connect', 'elementor' ), ] ); } private function get_document_types() { $document_types = Plugin::$instance->documents->get_document_types( [ 'show_in_library' => true, ] ); $data = []; foreach ( $document_types as $name => $document_type ) { $data[ $name ] = $document_type::get_title(); } return $data; } public function print_content() { if ( ! $this->print_preview_callback ) { $this->print_preview_callback = [ $this, 'print_thumbnail_preview_callback' ]; } call_user_func( $this->print_preview_callback ); } private function print_thumbnail_preview_callback() { $doc = Plugin::$instance->documents->get_current(); if ( ! $doc ) { $render_mode = Plugin::$instance->frontend->render_mode_manager->get_current(); if ( $render_mode instanceof Render_Mode_Preview ) { $doc = $render_mode->get_document(); } } if ( ! $doc ) { echo '
' . esc_html__( 'Document not found for preview.', 'elementor' ) . '
'; return; } Plugin::$instance->documents->switch_to_document( $doc ); $content = $doc->get_content( true ); echo $content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } protected function is_screenshot_proxy_mode( array $query_params ) { $is_proxy = isset( $query_params['screenshot_proxy'] ); if ( $is_proxy ) { if ( ! wp_verify_nonce( $query_params['nonce'], 'screenshot-proxy' ) ) { // WP >= 6.2-alpha if ( class_exists( '\WpOrg\Requests\Exception\Http\Status403' ) ) { throw new \WpOrg\Requests\Exception\Http\Status403(); } else { throw new \Requests_Exception_HTTP_403(); } } if ( ! $query_params['href'] ) { // WP >= 6.2-alpha if ( class_exists( '\WpOrg\Requests\Exception\Http\Status400' ) ) { throw new \WpOrg\Requests\Exception\Http\Status400(); } else { throw new \Requests_Exception_HTTP_400(); } } } return $is_proxy; } }
Fatal error: Uncaught Error: Class "Elementor\Modules\CloudLibrary\Module" not found in /htdocs/wp-content/plugins/elementor/core/modules-manager.php:53 Stack trace: #0 /htdocs/wp-content/plugins/elementor/includes/plugin.php(703): Elementor\Core\Modules_Manager->__construct() #1 /htdocs/wp-content/plugins/elementor/includes/plugin.php(621): Elementor\Plugin->init_components() #2 /htdocs/wp-includes/class-wp-hook.php(324): Elementor\Plugin->init('') #3 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #4 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /htdocs/wp-settings.php(727): do_action('init') #6 /htdocs/wp-config.php(91): 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(17): require('/htdocs/wp-blog...') #10 {main} thrown in /htdocs/wp-content/plugins/elementor/core/modules-manager.php on line 53