• How to fix this error?

    Warning: Undefined array key “margin_tablet” in /code/wp-content/plugins/elementor/core/files/css/base.php on line 778 Warning: Undefined array key “margin_mobile” in /code/wp-content/plugins/elementor/core/files/css/base.php on line 778 Warning: Undefined array key “padding_tablet” in /code/wp-content/plugins/elementor/core/files/css/base.php on line 778 Warning: Undefined array key “padding_mobile” in /code/wp-content/plugins/elementor/core/files/css/base.php on line 778

Viewing 6 replies - 1 through 6 (of 6 total)
  • tomasgre

    (@tomasgre)

    If u are using elementskit, turn off “Onepage scroll”. This work for me.

    corinnespi

    (@corinnespi)

    I have the same problem, elementskit “onepage scroll” is turned Off.
    I was wondering if it is about the theme hello that I updated today ?

    If you are using onepage scroll and don’t want to disable then you can fix that error by replacing get_page_setting method at wp-content/plugins/elementskit-lite/modules/onepage-scroll/init.php with below method.

    public static function get_page_setting( $id ) {
    	$post_id = get_the_ID();
    	$page_settings_manager = \Elementor\Core\Settings\Manager::get_settings_managers( 'page' );
    	$page_settings   = $page_settings_manager->get_model( $post_id )->get_data('settings');
    	return isset($page_settings[$id]) ? $page_settings[$id] : false;
    }
    corinnespi

    (@corinnespi)

    thanks Razon, but I am not using onepagescroll.

    i have elementskit and elementor free version and I use the template Hello.

    by searching this error on Google I see there are a lot of website wha have this error.

    I suppose it is a bug after update.

    overall it appeared after updating Hello template. But it could be something else.

    • This reply was modified 1 year ago by corinnespi.
    • This reply was modified 1 year ago by corinnespi.
    Ronald

    (@ronaldtgi)

    This is a bug for sure. As soon as, I tried upgrading to Elementor Version 3.17.3 and Elementor Pro Version 3.17.1, this error show up.
    To reproduce the error.
    1. Enable debug mode to true
    2. Open /wp-admin/customize.php

    In file public_html/wp-content/plugins/elementor/core/files/css/base.php
    Just add the below

    if ( ! isset( $values[ $control['name'] ] ) ) { return null; }

    Before line 778 ($value = $values[ $control['name'] ];)

    itll fix it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘elementor error’ is closed to new replies.