Title: Getting PHP Warning
Last modified: November 22, 2019

---

# Getting PHP Warning

 *  [Muhammed Rias A](https://wordpress.org/support/users/riasnelli/)
 * (@riasnelli)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/getting-php-warning-2/)
 * Hi,
 * I’m getting the below Warning continuously in my error log after the latest update.
 * PHP Warning: Illegal offset type in isset or empty in /wp-content/plugins/elementor/
   includes/base/element-base.php on line 151
 * How can I fix this issue?
 * Many Thanks.
 * Line 151: if ( isset( $deprecated_scripts[ $script ] ) ) {
    -  This topic was modified 6 years, 4 months ago by [Muhammed Rias A](https://wordpress.org/support/users/riasnelli/).

Viewing 1 replies (of 1 total)

 *  [Elementor](https://wordpress.org/support/users/davidr90/)
 * (@davidr90)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/getting-php-warning-2/#post-12169316)
 * Please make sure you are using the latest version of Elementor 2.7.5
 * If the problem still occurs, try the following:
 * 1. There might be a plugin which is conflicting with Elementor and generating
   the warning. Try to deactivate all your plugins (besides Elementor) and see if
   it helps. If it solves the issue reactivate them one by one to find the culprit.
 * 2. If it didn’t help, try to switch your theme (temporarily) to a default WP 
   theme such as Twenty Sixteen.
 * Also, PHP warning is not something to be worried about if everything works fine
   on your site, this notification is just to take precautions as some of this warning
   might happen due to a plugin conflict or a missing file. However, you can always
   disable the PHP debug log, refer to this external link on how to do so:
    [https://crunchify.com/how-to-debug-wordpress-php-errors-and-warnings-enable-or-disable-php-error-reporting/](https://crunchify.com/how-to-debug-wordpress-php-errors-and-warnings-enable-or-disable-php-error-reporting/)
 * If those solutions won’t solve your issue, please follow our guide:
    [https://docs.elementor.com/article/235-update-issues](https://docs.elementor.com/article/235-update-issues)

Viewing 1 replies (of 1 total)

The topic ‘Getting PHP Warning’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Elementor](https://wordpress.org/support/users/davidr90/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/getting-php-warning-2/#post-12169316)
 * Status: not resolved