title: Error in Wordpress - elementor after ugrading PHP 7.4
body: <p>After upgrading to PHP 7.4, elemntor started giving error</p>
  <p>url: <a href="http://www.aldon.ltd/" rel="nofollow noreferrer">www.aldon.ltd/</a>
  Cloud Service: GCP
  Server: Openlitespeed Wordpress
  Linux: Ubuntu 20.04 LTS</p>
  <pre><code>Notice: Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1449
  </code></pre>
  <p>Notice: Trying to access array offset on value of type null in /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1451</p>
  <p>Except this notice shown at the top of webpage, all other functions are working as expected.</p>
  <p>Code causing error
  /**
  * End controls section.
  *
  * Used to close an existing open controls section. When you use this method
  * it stops adding new controls to this section.
  *
  * This method should be used inside <code>_register_controls()</code>.
  *
  * @since 1.4.0
  * @access public
  */
  Public function end_controls_section() {
  $stack_name = $this-&gt;get_name();</p>
  <pre><code>            // Save the current section for the action.
              $current_section = $this-&gt;current_section;
              $section_id = $current_section['section'];
              $args = [
                      'tab' =&gt; $current_section['tab'],
              ];
  </code></pre>
  <p>Error Log at /usr/local/lsws/logs/error.log</p>
  <p>PHP Notice: wp_deregister_script was called <strong>incorrectorrectly</strong>. Do not deregister the <code>jquery-core</code> script in the administration area. To target the front-end theme, use the wp_enqueue_scrip&gt;
  PHP Notice: /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1449
  PHP Notice: /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1451</p>