• rcwatson

    (@rcwatson)


    I support an Elementor site that WordPress’s built-in detection system says has thrown an error. Apparently, the error isn’t fatal and the site still works, but I’d like to know whether the issue that causes it is known and being fixed. Especially because the alert system will be continually emailing administrators until it the error is corrected. The error I got was:

    Error Details
    =============
    An error of type E_ERROR was caused in line 1274 of the file /code/wp-content/plugins/elementor/includes/base/controls-stack.php. Error message: Uncaught TypeError: Cannot access offset of type string on string in /code/wp-content/plugins/elementor/includes/base/controls-stack.php:1274
    Stack trace:
    #0 /code/wp-content/plugins/ele-custom-skin/includes/dynamic-style.php(72): Elementor\Controls_Stack->parse_dynamic_settings(Array, Array)
    #1 /code/wp-includes/class-wp-hook.php(310): ECS_set_dynamic_style(Object(Elementor\Widget_Progress))
    #2 /code/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
    #3 /code/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /code/wp-content/plugins/elementor/includes/base/element-base.php(455): do_action(‘elementor/front…’, Object(Elementor\Widget_Progress))
    #5 /code/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element()
    #6 /code/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content()
    #7 /code/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element()
    #8 /code/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content()
    #9 /code/wp-content/plugins/elementor/core/base/document.php(1739): Elementor\Element_Base->print_element()
    #10 /code/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(418): Elementor\Core\Base\Document->print_elements(Array)
    #11 /code/wp-content/plugins/elementor/includes/frontend.php(1179): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_elements_with_wrapper(Array)
    #12 /code/wp-content/plugins/elementor/includes/frontend.php(1247): Elementor\Frontend->get_builder_content(‘1743’, true)
    #13 /code/wp-content/plugins/ele-custom-skin/skins/skin-custom.php(273): Elementor\Frontend->get_builder_content_for_display(‘1743’)
    #14 /code/wp-content/plugins/ele-custom-skin/skins/skin-custom.php(323): ElementorPro\Modules\Posts\Skins\Skin_Posts_ECS->get_template()
    #15 /code/wp-content/plugins/ele-custom-skin/skins/skin-custom.php(567): ElementorPro\Modules\Posts\Skins\Skin_Posts_ECS->render_post()
    #16 /code/wp-content/plugins/elementor/includes/base/skin-base.php(79): ElementorPro\Modules\Posts\Skins\Skin_Posts_ECS->render()
    #17 /code/wp-content/plugins/elementor/includes/base/widget-base.php(607): Elementor\Skin_Base->render_by_mode()
    #18 /code/wp-content/plugins/elementor/includes/base/widget-base.php(733): Elementor\Widget_Base->render_content()
    #19 /code/wp-content/plugins/elementor/includes/base/element-base.php(551): Elementor\Widget_Base->get_raw_data(true)
    #20 /code/wp-content/plugins/elementor/includes/base/element-base.php(551): Elementor\Element_Base->get_raw_data(true)
    #21 /code/wp-content/plugins/elementor/includes/base/element-base.php(551): Elementor\Element_Base->get_raw_data(true)
    #22 /code/wp-content/plugins/elementor/includes/base/element-base.php(551): Elementor\Element_Base->get_raw_data(true)
    #23 /code/wp-content/plugins/elementor/core/base/document.php(1013): Elementor\Element_Base->get_raw_data(true)
    #24 /code/wp-content/plugins/elementor/core/base/document.php(679): Elementor\Core\Base\Document->get_elements_raw_data(Array, true)
    #25 /code/wp-content/plugins/elementor/includes/base/controls-stack.php(1010): Elementor\Core\Base\Document->get_initial_config()
    #26 /code/wp-content/plugins/elementor/core/editor/loader/common/editor-common-scripts-settings.php(34): Elementor\Controls_Stack->get_config()
    #27 /code/wp-content/plugins/elementor/core/editor/loader/v1/editor-v1-loader.php(76): Elementor\Core\Editor\Loader\Common\Editor_Common_Scripts_Settings::get()
    #28 /code/wp-content/plugins/elementor/core/editor/editor.php(358): Elementor\Core\Editor\Loader\V1\Editor_V1_Loader->enqueue_scripts()
    #29 /code/wp-includes/class-wp-hook.php(310): Elementor\Core\Editor\Editor->enqueue_scripts(”)
    #30 /code/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)
    #31 /code/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #32 /code/wp-includes/script-loader.php(2225): do_action(‘wp_enqueue_scri…’)
    #33 /code/wp-includes/class-wp-hook.php(310): wp_enqueue_scripts(”)
    #34 /code/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)
    #35 /code/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #36 /code/wp-includes/general-template.php(3053): do_action(‘wp_head’)
    #37 /code/wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php(31): wp_head()
    #38 /code/wp-content/plugins/elementor/core/editor/loader/v1/editor-v1-loader.php(110): include(‘/code/wp-conten…’)
    #39 /code/wp-content/plugins/elementor/core/editor/editor.php(163): Elementor\Core\Editor\Loader\V1\Editor_V1_Loader->print_root_template()
    #40 /code/wp-includes/class-wp-hook.php(310): Elementor\Core\Editor\Editor->init(”)
    #41 /code/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)
    #42 /code/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #43 /code/wp-admin/admin.php(419): do_action(‘admin_action_el…’)
    #44 /code/wp-admin/post.php(12): require_once(‘/code/wp-admin/…’)
    #45 {main}
    ? thrown

  • The topic ‘Uncaught TypeError: Cannot access offset of type string on string’ is closed to new replies.