• After updating to version: Versie 3.23.0?

    I get this al lot in my error log: [NOTICE] [1332924] [T0] [31.21.214.129:49229-H3:AC0EA5BE79D9E07A-8924#APVH_www.###.nl:443] [STDERR] PHP Warning: Attempt to read property “is_block_editor” on null in /home/###/domains/####.nl/public_html/wp-content/plugins/elementor/modules/ai/module.php on line 186\n

    Can you solve this?


    == Server Environment ==
    Operating System: Linux
    Software: LiteSpeed
    MySQL version: MariaDB Server v10.6.18
    PHP Version: 8.1.29
    PHP Memory Limit: 1024M
    PHP Max Input Vars: 10000
    PHP Max Post Size: 256M
    GD Installed: Yes
    ZIP Installed: Yes
    Write Permissions: All right
    Elementor Library: Connected

    == WordPress Environment ==
    Version: 6.5.5
    Site URL: https://www.#####.nl
    Home URL: https://www.#####.nl
    WP Multisite: No
    Max Upload Size: 64 MB
    Memory limit: 40M
    Max Memory limit: 1024M
    Permalink Structure: /%postname%/
    Language: nl_NL
    Timezone: Europe/Amsterdam
    Admin Email: support@#####.nl
    Debug Mode: Inactive

    == Theme ==
    Name: Woodmart Child
    Version: 1.0.0
    Author: XTemos
    Child Theme: Yes
    Parent Theme Name: Woodmart
    Parent Theme Version: 7.5.2
    Parent Theme Author: XTemos

    == User ==
    Role: administrator
    WP Profile lang: nl-NL
    User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

    == Active Plugins ==
    Booster Plus for WooCommerce
    Version: 7.2.1
    Author: Pluggabl LLC

    Code Snippets
    Version: 3.6.5.1
    Author: Code Snippets Pro

    Complianz Privacy Suite (GDPR/CCPA) premium
    Version: 7.1.1
    Author: Really Simple Plugins

    Conditional Shipping for WooCommerce
    Version: 3.2.0
    Author: Lauri Karisola / WP Trio

    Elementor
    Version: 3.23.0
    Author: Elementor.com

    Facebook for WooCommerce
    Version: 3.2.5
    Author: Facebook

    Google Language Translator
    Version: 6.0.20
    Author: Translate AI Multilingual Solutions

    GTM4WP - A Google Tag Manager (GTM) plugin for WordPress
    Version: 1.20.2
    Author: Thomas Geiger

    Kadence WooCommerce Email Designer
    Version: 1.5.13
    Author: Kadence WP

    Limit Login Attempts Reloaded
    Version: 2.26.11
    Author: Limit Login Attempts Reloaded

    LiteSpeed Cache
    Version: 6.2.0.1
    Author: LiteSpeed Technologies

    Loco Translate
    Version: 2.6.10
    Author: Tim Whitlock

    Mailchimp for WooCommerce
    Version: 4.1
    Author: Mailchimp

    Mail logging - WP Mail Catcher
    Version: 2.1.9
    Author: James Ward

    MC4WP: Mailchimp for WordPress
    Version: 4.9.13
    Author: ibericode

    OMGF
    Version: 5.9.0
    Author: Daan from Daan.dev

    Pay. Payment Methods for WooCommerce
    Version: 3.19.0
    Author: Pay.

    Product Feed Manager for WooCommerce
    Version: 7.4.13
    Author: RexTheme

    Product Feed Manager for WooCommerce PRO
    Version: 6.5.2
    Author: RexTheme

    Related Products for WooCommerce
    Version: 1.5.6
    Author: WebToffee

    Replace Image
    Version: 1.1.10
    Author: WP Zone

    Trusted Shops Easy Integration for WooCommerce
    Version: 2.0.2
    Author: vendidero

    User Roles and Capabilities
    Version: 1.2.6
    Author: mahabub

    Variation Swatches for WooCommerce
    Version: 2.1.1
    Author: Emran Ahmed

    Variation Swatches for WooCommerce - Pro
    Version: 2.1.3
    Author: Emran Ahmed

    WC Min Max Quantities
    Version: 1.1.9
    Author: PluginEver

    WooCommerce
    Version: 9.1.2
    Author: Automattic

    WooCommerce Deposits
    Version: 4.3.3
    Author: Webtomizer

    Woo Custom Stock Status
    Version: 1.5.3
    Author: Softound Solutions

    Woo Custom Stock Status Pro
    Version: 1.0.8
    Author: Softound Solutions

    Woodmart Core
    Version: 1.0.43
    Author:

    WooMultistore
    Version: 5.3.5
    Author: Lykke Media AS

    WPC Composite Products for WooCommerce
    Version: 7.3.3
    Author: WPClever

    WPForms Lite
    Version: 1.8.9.6
    Author: WPForms

    YITH WooCommerce Product Add-ons & Extra Options
    Version: 4.12.0
    Author: YITH

    Yoast SEO
    Version: 23.0
    Author: Team Yoast


    == Must-Use Plugins ==
    WordPress automation by Installatron
    Version:
    Author:


    == Elementor experimenten ==
    Verbeterd laden van CSS: Standaard inactief
    Iconen inline lettertype: Standaard inactief
    Extra aangepaste breakpoints: Standaard actief
    Flexbox container: Actief
    Raster container: Standaard actief
    Upgrade Swiper bibliotheek: Standaard actief
    Geneste elementen prestaties: Standaard actief
    Geoptimaliseerde laden van besturing: Standaard inactief
    Geoptimaliseerde markup: Standaard inactief
    Plugin onboarding: Standaard actief
    Elementor home scherm: Standaard actief
    Editor top balk: Actief
    Bouwen met AI: Standaard actief
    Landingspagina's: Inactief
    Geneste elementen: Standaard inactief
    Lazy-load achtergrondafbeeldingen: Standaard actief
    Pagina's paneel: Standaard inactief
    Element caching: Standaard inactief
    Link in bio: Standaard inactief
    Zwevende knoppen: Standaard inactief
    Elementor editor gebeurtenissen: Standaard inactief


    == Log ==

    JS: showing 1 of 1JS: 2024-05-17 12:14:24 [error X 11][https://www.#####.nl/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.21.5:3:821594] Cannot read properties of undefined (reading 'localized')

    Log: showing 20 of 412024-06-18 08:50:40 [info] elementor::elementor_updater Started
    2024-06-18 08:50:40 [info] Elementor/Upgrades - _on_each_version Start
    2024-06-18 08:50:40 [info] Elementor/Upgrades - _on_each_version Finished
    2024-06-18 08:50:40 [info] Elementor data updater process has been completed. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.0',
    'to' => '3.22.1',
    )]
    2024-06-25 08:51:03 [info] Elementor data updater process has been queued. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.1',
    'to' => '3.22.2',
    )]
    2024-06-25 08:51:06 [info] elementor::elementor_updater Started
    2024-06-25 08:51:06 [info] Elementor/Upgrades - _on_each_version Start
    2024-06-25 08:51:06 [info] Elementor/Upgrades - _on_each_version Finished
    2024-06-25 08:51:06 [info] Elementor data updater process has been completed. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.1',
    'to' => '3.22.2',
    )]
    2024-06-25 08:51:07 [info] Elementor data updater process has been queued. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.1',
    'to' => '3.22.2',
    )]
    2024-06-27 08:44:37 [info] elementor::elementor_updater Started
    2024-06-27 08:44:37 [info] Elementor/Upgrades - _on_each_version Start
    2024-06-27 08:44:37 [info] Elementor/Upgrades - _on_each_version Finished
    2024-06-27 08:44:37 [info] Elementor data updater process has been completed. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.2',
    'to' => '3.22.3',
    )]
    2024-07-15 11:11:25 [info] Elementor data updater process has been queued. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.3',
    'to' => '3.23.0',
    )]
    2024-07-15 11:11:29 [info] elementor::elementor_updater Started
    2024-07-15 11:11:29 [info] Elementor/Upgrades - _on_each_version Start
    2024-07-15 11:11:29 [info] Elementor/Upgrades - _on_each_version Finished
    2024-07-15 11:11:30 [info] Elementor data updater process has been completed. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.3',
    'to' => '3.23.0',
    )]
    2024-07-15 11:11:32 [info] Elementor data updater process has been queued. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.3',
    'to' => '3.23.0',
    )]

    PHP: showing 1 of 1PHP: == Server Environment ==
    Operating System: Linux
    Software: LiteSpeed
    MySQL version: MariaDB Server v10.6.18
    PHP Version: 8.1.29
    PHP Memory Limit: 1024M
    PHP Max Input Vars: 10000
    PHP Max Post Size: 256M
    GD Installed: Yes
    ZIP Installed: Yes
    Write Permissions: All right
    Elementor Library: Connected

    == WordPress Environment ==
    Version: 6.5.5
    Site URL: https://www.#####.nl
    Home URL: https://www.#####.nl
    WP Multisite: No
    Max Upload Size: 64 MB
    Memory limit: 40M
    Max Memory limit: 1024M
    Permalink Structure: /%postname%/
    Language: nl_NL
    Timezone: Europe/Amsterdam
    Admin Email: support@#####.nl
    Debug Mode: Inactive

    == Theme ==
    Name: Woodmart Child
    Version: 1.0.0
    Author: XTemos
    Child Theme: Yes
    Parent Theme Name: Woodmart
    Parent Theme Version: 7.5.2
    Parent Theme Author: XTemos

    == User ==
    Role: administrator
    WP Profile lang: nl-NL
    User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

    == Active Plugins ==
    Booster Plus for WooCommerce
    Version: 7.2.1
    Author: Pluggabl LLC

    Code Snippets
    Version: 3.6.5.1
    Author: Code Snippets Pro

    Complianz Privacy Suite (GDPR/CCPA) premium
    Version: 7.1.1
    Author: Really Simple Plugins

    Conditional Shipping for WooCommerce
    Version: 3.2.0
    Author: Lauri Karisola / WP Trio

    Elementor
    Version: 3.23.0
    Author: Elementor.com

    Facebook for WooCommerce
    Version: 3.2.5
    Author: Facebook

    Google Language Translator
    Version: 6.0.20
    Author: Translate AI Multilingual Solutions

    GTM4WP - A Google Tag Manager (GTM) plugin for WordPress
    Version: 1.20.2
    Author: Thomas Geiger

    Kadence WooCommerce Email Designer
    Version: 1.5.13
    Author: Kadence WP

    Limit Login Attempts Reloaded
    Version: 2.26.11
    Author: Limit Login Attempts Reloaded

    LiteSpeed Cache
    Version: 6.2.0.1
    Author: LiteSpeed Technologies

    Loco Translate
    Version: 2.6.10
    Author: Tim Whitlock

    Mailchimp for WooCommerce
    Version: 4.1
    Author: Mailchimp

    Mail logging - WP Mail Catcher
    Version: 2.1.9
    Author: James Ward

    MC4WP: Mailchimp for WordPress
    Version: 4.9.13
    Author: ibericode

    OMGF
    Version: 5.9.0
    Author: Daan from Daan.dev

    Pay. Payment Methods for WooCommerce
    Version: 3.19.0
    Author: Pay.

    Product Feed Manager for WooCommerce
    Version: 7.4.13
    Author: RexTheme

    Product Feed Manager for WooCommerce PRO
    Version: 6.5.2
    Author: RexTheme

    Related Products for WooCommerce
    Version: 1.5.6
    Author: WebToffee

    Replace Image
    Version: 1.1.10
    Author: WP Zone

    Trusted Shops Easy Integration for WooCommerce
    Version: 2.0.2
    Author: vendidero

    User Roles and Capabilities
    Version: 1.2.6
    Author: mahabub

    Variation Swatches for WooCommerce
    Version: 2.1.1
    Author: Emran Ahmed

    Variation Swatches for WooCommerce - Pro
    Version: 2.1.3
    Author: Emran Ahmed

    WC Min Max Quantities
    Version: 1.1.9
    Author: PluginEver

    WooCommerce
    Version: 9.1.2
    Author: Automattic

    WooCommerce Deposits
    Version: 4.3.3
    Author: Webtomizer

    Woo Custom Stock Status
    Version: 1.5.3
    Author: Softound Solutions

    Woo Custom Stock Status Pro
    Version: 1.0.8
    Author: Softound Solutions

    Woodmart Core
    Version: 1.0.43
    Author:

    WooMultistore
    Version: 5.3.5
    Author: Lykke Media AS

    WPC Composite Products for WooCommerce
    Version: 7.3.3
    Author: WPClever

    WPForms Lite
    Version: 1.8.9.6
    Author: WPForms

    YITH WooCommerce Product Add-ons & Extra Options
    Version: 4.12.0
    Author: YITH

    Yoast SEO
    Version: 23.0
    Author: Team Yoast

    == Must-Use Plugins ==
    WordPress automation by Installatron
    Version:
    Author:

    == Elementor experimenten ==
    Verbeterd laden van CSS: Standaard inactief
    Iconen inline lettertype: Standaard inactief
    Extra aangepaste breakpoints: Standaard actief
    Flexbox container: Actief
    Raster container: Standaard actief
    Upgrade Swiper bibliotheek: Standaard actief
    Geneste elementen prestaties: Standaard actief
    Geoptimaliseerde laden van besturing: Standaard inactief
    Geoptimaliseerde markup: Standaard inactief
    Plugin onboarding: Standaard actief
    Elementor home scherm: Standaard actief
    Editor top balk: Actief
    Bouwen met AI: Standaard actief
    Landingspagina's: Inactief
    Geneste elementen: Standaard inactief
    Lazy-load achtergrondafbeeldingen: Standaard actief
    Pagina's paneel: Standaard inactief
    Element caching: Standaard inactief
    Link in bio: Standaard inactief
    Zwevende knoppen: Standaard inactief
    Elementor editor gebeurtenissen: Standaard inactief

    == Log ==

    JS: showing 1 of 1JS: 2024-05-17 12:14:24 [error X 11][https://www.#####.nl/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.21.5:3:821594] Cannot read properties of undefined (reading 'localized')

    Log: showing 20 of 412024-06-18 08:50:40 [info] elementor::elementor_updater Started
    2024-06-18 08:50:40 [info] Elementor/Upgrades - _on_each_version Start
    2024-06-18 08:50:40 [info] Elementor/Upgrades - _on_each_version Finished
    2024-06-18 08:50:40 [info] Elementor data updater process has been completed. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.0',
    'to' => '3.22.1',
    )]
    2024-06-25 08:51:03 [info] Elementor data updater process has been queued. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.1',
    'to' => '3.22.2',
    )]
    2024-06-25 08:51:06 [info] elementor::elementor_updater Started
    2024-06-25 08:51:06 [info] Elementor/Upgrades - _on_each_version Start
    2024-06-25 08:51:06 [info] Elementor/Upgrades - _on_each_version Finished
    2024-06-25 08:51:06 [info] Elementor data updater process has been completed. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.1',
    'to' => '3.22.2',
    )]
    2024-06-25 08:51:07 [info] Elementor data updater process has been queued. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.1',
    'to' => '3.22.2',
    )]
    2024-06-27 08:44:37 [info] elementor::elementor_updater Started
    2024-06-27 08:44:37 [info] Elementor/Upgrades - _on_each_version Start
    2024-06-27 08:44:37 [info] Elementor/Upgrades - _on_each_version Finished
    2024-06-27 08:44:37 [info] Elementor data updater process has been completed. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.2',
    'to' => '3.22.3',
    )]
    2024-07-15 11:11:25 [info] Elementor data updater process has been queued. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.3',
    'to' => '3.23.0',
    )]
    2024-07-15 11:11:29 [info] elementor::elementor_updater Started
    2024-07-15 11:11:29 [info] Elementor/Upgrades - _on_each_version Start
    2024-07-15 11:11:29 [info] Elementor/Upgrades - _on_each_version Finished
    2024-07-15 11:11:30 [info] Elementor data updater process has been completed. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.3',
    'to' => '3.23.0',
    )]
    2024-07-15 11:11:32 [info] Elementor data updater process has been queued. [array (
    'plugin' => 'Elementor',
    'from' => '3.22.3',
    'to' => '3.23.0',
    )]

    PHP: showing 1 of 1PHP: 2024-07-15 15:13:28.928404 [NOTICE] [1332924] [T0] [31.21.214.129:49229-H3:AC0EA5BE79D9E07A-10304#APVH_www.#####.nl:443] [STDERR] PHP Warning: Attempt to read property "is_block_editor" on null in /home/#############/domains/########.nl/public_html/wp-content/plugins/elementor/modules/ai/module.php on line 186\n
    )]

    == Elementor - Compatibility Tag =
    )]
Viewing 3 replies - 1 through 3 (of 3 total)
  • Same issue here !! Warning: Attempt to read property “is_block_editor” on null in /home/public_html/wp-content/plugins/elementor/modules/ai/module.php on line 186

    Change line 186 to

    		if ( function_exists( 'get_current_screen' ) ) {
    if ( isset ( get_current_screen()->is_block_editor) && get_current_screen()->is_block_editor ) {
    return;
    }
    }

    This happens also if you are using the classic editor plugin and or when the blockeditor is disabled.

    @elementor support : Why are you loading elementor modules etc etc in every admin screen? Why not limit this to the admin screens where this is needed?

    neo2k23

    (@neo2k23)

    Can we please get some support on this? 2 versions have updated and the issue keeps on coming back causing me to alted the elementor code every time.

    The file has been changed as the issue is now on line 190. But the issue still exists. The solution is easy. Just check if the is_block_editor exists. See below

    Warning: Attempt to read property "is_block_editor" on null in /var/docs/public/wp-content/plugins/elementor/modules/ai/module.php on line 190
    The solution is below.
    		if ( function_exists( 'get_current_screen' ) ) {
    if ( isset(get_current_screen()->is_block_editor) && get_current_screen()->is_block_editor ) {
    return;
    }
    }

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: Attempt to read property “is_block_editor” on null’ is closed to new replies.