Fatal error: Uncaught TypeError
-
Hi,
I am building a website for college on a local server using xamp. I installed astra and elementor and have had no issues until now.
I was tying to import a block from astra starter templates for my home page and the importing kept going for nearly 30 mins. I closed it and tried to open the page to which i get the below message –Fatal error: Uncaught TypeError: Elementor\Elements_Manager::create_element_instance(): Argument #1 ($element_data) must be of type array, string given, called in C:\xampp\htdocs\walkingclub\wp-content\plugins\elementor\core\files\css\post.php on line 172 and defined in C:\xampp\htdocs\walkingclub\wp-content\plugins\elementor\includes\managers\elements.php:68 Stack trace: #0 C:\xampp\htdocs\walkingclub\wp-content\plugins\elementor\core\files\css\post.php(172): Elementor\Elements_Manager->create_element_instance('Array') #1 C:\xampp\htdocs\walkingclub\wp-content\plugins\elementor\core\files\css\base.php(616): Elementor\Core\Files\CSS\Post->render_css() #2 C:\xampp\htdocs\walkingclub\wp-content\plugins\elementor\core\files\base.php(166): Elementor\Core\Files\CSS\Base->parse_content() #3 C:\xampp\htdocs\walkingclub\wp-content\plugins\elementor\core\files\css\base.php(130): Elementor\Core\Files\Base->update_file() #4 C:\xampp\htdocs\walkingclub\wp-content\plugins\elementor\core\files\css\base.php(206): Elementor\Core\Files\CSS\Base->update() #5 C:\xampp\htdocs\walkingclub\wp-content\plugins\elementor\core\files\css\post.php(201): Elementor\Core\Files\CSS\Base->enqueue() #6 C:\xampp\htdocs\walkingclub\wp-content\plugins\elementor\includes\frontend.php(655): Elementor\Core\Files\CSS\Post->enqueue() #7 C:\xampp\htdocs\walkingclub\wp-includes\class-wp-hook.php(292): Elementor\Frontend->enqueue_styles('') #8 C:\xampp\htdocs\walkingclub\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #9 C:\xampp\htdocs\walkingclub\wp-includes\plugin.php(484): WP_Hook->do_action(Array) #10 C:\xampp\htdocs\walkingclub\wp-includes\script-loader.php(2027): do_action('wp_enqueue_scri...') #11 C:\xampp\htdocs\walkingclub\wp-includes\class-wp-hook.php(292): wp_enqueue_scripts('') #12 C:\xampp\htdocs\walkingclub\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #13 C:\xampp\htdocs\walkingclub\wp-includes\plugin.php(484): WP_Hook->do_action(Array) #14 C:\xampp\htdocs\walkingclub\wp-includes\general-template.php(3009): do_action('wp_head') #15 C:\xampp\htdocs\walkingclub\wp-content\themes\astra\header.php(26): wp_head() #16 C:\xampp\htdocs\walkingclub\wp-includes\template.php(730): require_once('C:\\xampp\\htdocs...') #17 C:\xampp\htdocs\walkingclub\wp-includes\template.php(676): load_template('C:\\xampp\\htdocs...', true, Array) #18 C:\xampp\htdocs\walkingclub\wp-includes\general-template.php(48): locate_template(Array, true, true, Array) #19 C:\xampp\htdocs\walkingclub\wp-content\themes\astra\page.php(20): get_header() #20 C:\xampp\htdocs\walkingclub\wp-includes\template-loader.php(106): include('C:\\xampp\\htdocs...') #21 C:\xampp\htdocs\walkingclub\wp-blog-header.php(19): require_once('C:\\xampp\\htdocs...') #22 C:\xampp\htdocs\walkingclub\index.php(17): require('C:\\xampp\\htdocs...') #23 {main} thrown in C:\xampp\htdocs\walkingclub\wp-content\plugins\elementor\includes\managers\elements.php on line 68Other pages still appear to be working, i have turned all plugins off and the only one that appears to be the issue is the Elementor plug in as when this gets activated again, the error appears.
The topic ‘Fatal error: Uncaught TypeError’ is closed to new replies.