penow; } /** * @param array $post_types * * @return array */ private function remove_elementor_cpt_from_sitemap( array $post_types ) { unset( $post_types[ self::CPT ] ); return $post_types; } /** * Template library local source constructor. * * Initializing the template library local source base by registering custom * template data and running custom actions. * * @since 1.0.0 * @access public */ public function __construct() { parent::__construct(); $this->add_actions(); } }
Fatal error: Uncaught Error: Class 'Elementor\TemplateLibrary\Source_Local' not found in /home/sportuga/public_html/wp-content/plugins/elementor/modules/library/documents/library-document.php:47 Stack trace: #0 /home/sportuga/public_html/wp-content/plugins/elementor/modules/library/documents/not-supported.php(31): Elementor\Modules\Library\Documents\Library_Document::get_properties() #1 /home/sportuga/public_html/wp-content/plugins/elementor/core/base/document.php(274): Elementor\Modules\Library\Documents\Not_Supported::get_properties() #2 /home/sportuga/public_html/wp-content/plugins/elementor/core/documents-manager.php(148): Elementor\Core\Base\Document::get_property('cpt') #3 /home/sportuga/public_html/wp-content/plugins/elementor/modules/library/module.php(46): Elementor\Core\Documents_Manager->register_document_type('not-supported', 'Elementor\\Modul...') #4 /home/sportuga/public_html/wp-content/plugins/elementor/core/base/module.php(85): Elementor\Modules\Library\Module->__construct() #5 /home/sportuga/public_html/w in /home/sportuga/public_html/wp-content/plugins/elementor/modules/library/documents/library-document.php on line 47