Support » Plugin: Elementor Website Builder » Error: Trying to access array offset on value of type null in control-stack.php

  • New error message appeared this morning. I have read all the blogs and none of the fixes have helped. I have also turned off all other plugins and nothing has made the errors go away. Please help.

    Notice: Trying to access array offset on value of type null in … public_html/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1428

    Notice: Trying to access array offset on value of type null in …/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1430

    This is what is one these lines within the control-stack.php file:
    1426 // Save the current section for the action.
    1427 $current_section = $this->current_section;
    1428 $section_id = $current_section[‘section’];
    1429 $args = [
    1430 ‘tab’ => $current_section[‘tab’],
    1431 ];

    How can I fix this? Please help… thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Getting the exact same notice. Did you find any solution?

    Same here. Mine is line 1428 $section_id = $current_section[‘section’];

    stijn1992

    (@stijn1992)

    i have the same issue, following up
    Trying to access array offset on value of type null in
    ../wp-content/plugins/elementor/includes/base/controls-stack.php
    on line
    1428

    almustieles

    (@almustieles)

    Hi, I had the same problem. I solved it like this:
    1.-Go to the public_html folder
    2.-Open wp_config.php
    3.- Look for the line that says “@link https://wordpress.org/support/article/debugging-in-wordpress/
    * /”
    4.- Change, define (‘WP_DEBUG’, true ); by (‘WP_DEBUG’, false );

    This will remove the warning of the frontend problem!
    I hope you find it useful

    loorlab

    (@loorlab)

    +1

    This has to do directly with the PHP 7.4 update.

    Elementor V3.1.4

    
    Notice
    : Trying to access array offset on value of type null in
    /wp-content/plugins/elementor/includes/base/controls-stack.php
    on line
    1403
    
    Notice
    : Trying to access array offset on value of type null in
    /wp-content/plugins/elementor/includes/base/controls-stack.php
    on line
    1405
    

    Please check this !

    Regards.

    • This reply was modified 3 weeks ago by loorlab.
    • This reply was modified 3 weeks ago by loorlab.
    • This reply was modified 3 weeks ago by loorlab.
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.