Title: Error after upgrading PHP 7.4
Last modified: July 9, 2020

---

# Error after upgrading PHP 7.4

 *  [trueorganicguru](https://wordpress.org/support/users/trueorganicguru/)
 * (@trueorganicguru)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/error-after-upgrading-php-7-4/)
 *     ```
       Cloud Service: GCP
       Server: Openlitespeed WordPress
       Linux: Ubuntu 20.04 LTS
       PHP: 7.4.6
   
       Error:
       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
   
       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
   
       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 _register_controls(). * * @since 1.4.0 * @access public */ Public function end_controls_section() { $stack_name = $this->get_name(); $current_section = $this->current_section; $section_id = $current_section['section']; $args = [ 'tab' => $current_section['tab'], ];
       Error Log at /usr/local/lsws/logs/error.log
   
       [PHP Notice:] wp_deregister_script was called incorrectorrectly. Do not deregister the jquery-core script in the administration area. To target the front-end theme, use the wp_enqueue_scrip>
       [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
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-after-upgrading-php-7-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Ross](https://wordpress.org/support/users/rossgrs/)
 * (@rossgrs)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-after-upgrading-php-7-4/#post-13137494)
 * Same problem
    Notice: Trying to access array offset on value of type null in /
   home/gvagarag/public_html/wp-content/plugins/elementor/includes/base/controls-
   stack.php on line 1449
    -  This reply was modified 5 years, 9 months ago by [Ross](https://wordpress.org/support/users/rossgrs/).

Viewing 1 replies (of 1 total)

The topic ‘Error after upgrading PHP 7.4’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

## Tags

 * [php7.4](https://wordpress.org/support/topic-tag/php7-4/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ross](https://wordpress.org/support/users/rossgrs/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/error-after-upgrading-php-7-4/#post-13137494)
 * Status: not resolved