• 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 ] ) ) {

Viewing 1 replies (of 1 total)
  • Elementor

    (@davidr90)

    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/

    If those solutions won’t solve your issue, please follow our guide:
    https://docs.elementor.com/article/235-update-issues

Viewing 1 replies (of 1 total)
  • The topic ‘Getting PHP Warning’ is closed to new replies.