• Resolved hilkkanen

    (@hilkkanen)


    Hi,

    When importing blocks (any block) through Starter templates on a page I get the error below. The importing is stuck in “Importing…” and when I open again I get the error and am unable to access the page except if I revert to an earlier revision.

    I’m using PHP 8.0 and WordPress 5.7, Starter templates version 2.6.2. No change when deactivating all other plugins, so doesn’t seem to be a conflict. Please advice.

    Fatal error: Uncaught TypeError: Elementor\Elements_Manager::create_element_instance(): Argument #1 ($element_data) must be of type array, string given, called in D:\xampp2\htdocs\looppi\wp-content\plugins\elementor\core\base\document.php on line 810 and defined in D:\xampp2\htdocs\looppi\wp-content\plugins\elementor\includes\managers\elements.php:68 Stack trace: #0 D:\xampp2\htdocs\looppi\wp-content\plugins\elementor\core\base\document.php(810): Elementor\Elements_Manager->create_element_instance(‘Array’) #1 D:\xampp2\htdocs\looppi\wp-content\plugins\elementor\core\base\document.php(535): Elementor\Core\Base\Document->get_elements_raw_data(Array, true) #2 D:\xampp2\htdocs\looppi\wp-content\plugins\elementor\includes\base\controls-stack.php(923): Elementor\Core\Base\Document->get_initial_config() #3 D:\xampp2\htdocs\looppi\wp-content\plugins\elementor\core\editor\editor.php(527): Elementor\Controls_Stack->get_config() #4 D:\xampp2\htdocs\looppi\wp-includes\class-wp-hook.php(292): Elementor\Core\Editor\Editor->enqueue_scripts(”) #5 D:\xampp2\htdocs\looppi\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters(”, Array) #6 D:\xampp2\htdocs\looppi\wp-includes\plugin.php(484): WP_Hook->do_action(Array) #7 D:\xampp2\htdocs\looppi\wp-includes\script-loader.php(2027): do_action(‘wp_enqueue_scri…’) #8 D:\xampp2\htdocs\looppi\wp-includes\class-wp-hook.php(292): wp_enqueue_scripts(”) #9 D:\xampp2\htdocs\looppi\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters(”, Array) #10 D:\xampp2\htdocs\looppi\wp-includes\plugin.php(484): WP_Hook->do_action(Array) #11 D:\xampp2\htdocs\looppi\wp-includes\general-template.php(3009): do_action(‘wp_head’) #12 D:\xampp2\htdocs\looppi\wp-content\plugins\elementor\includes\editor-templates\editor-wrapper.php(31): wp_head() #13 D:\xampp2\htdocs\looppi\wp-content\plugins\elementor\core\editor\editor.php(322): include(‘D:\\xampp2\\htdoc…’) #14 D:\xampp2\htdocs\looppi\wp-content\plugins\elementor\core\editor\editor.php(163): Elementor\Core\Editor\Editor->print_editor_template() #15 D:\xampp2\htdocs\looppi\wp-includes\class-wp-hook.php(292): Elementor\Core\Editor\Editor->init(”) #16 D:\xampp2\htdocs\looppi\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters(”, Array) #17 D:\xampp2\htdocs\looppi\wp-includes\plugin.php(484): WP_Hook->do_action(Array) #18 D:\xampp2\htdocs\looppi\wp-admin\admin.php(408): do_action(‘admin_action_el…’) #19 D:\xampp2\htdocs\looppi\wp-admin\post.php(12): require_once(‘D:\\xampp2\\htdoc…’) #20 {main} thrown in D:\xampp2\htdocs\looppi\wp-content\plugins\elementor\includes\managers\elements.php on line 68

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hi @hilkkanen,

    If I take a look at the error log, there’s no astra-sites listed there, which means the error is not coming from the Starter Template plugin.

    Maybe the demo content you import has some data which is processed with the old Elementor plugin?

    You might consider open a ticket thru our Support Portal if would you like us to take a look further. You can just mention this topic in the ticket, so you don’t need to re-explain the issue.

    Kind regards,
    Herman 🙂

    Plugin Support Herman Asrori (BSF)

    (@bsfherman)

    Hi @hilkkanen,

    Since we heard nothing from you for a while, I am going to mark this topic as resolved. Feel free to reply to this thread or open a new topic if you need further assistance.

    Kind regards,
    Herman 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Uncaught TypeError when importing blocks’ is closed to new replies.