Home Forums WoodMart support forum Trying to access array offset on value of type null in…..

Trying to access array offset on value of type null in…..

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #409043

    banatika
    Participant

    Hello,

    I found some errors that drastically slow down the loading of my pages (2-3 seconds delay).
    Is it possible to fix them?

    Notice Trying to access array offset on value of type null 1
    wp-content/plugins/elementor-pro/modules/nav-menu/widgets/nav-menu.php:1446
    Plugin: elementor-pro

    Notice Trying to access array offset on value of type null 1
    wp-content/plugins/elementor-pro/modules/nav-menu/widgets/nav-menu.php:1459
    Plugin: elementor-pro

    Notice Trying to access array offset on value of type null 1
    wp-content/plugins/elementor-pro/modules/nav-menu/widgets/nav-menu.php:1470
    Plugin: elementor-pro

    Notice Trying to access array offset on value of type null 1
    wp-content/plugins/elementor-pro/modules/nav-menu/widgets/nav-menu.php:1483
    Plugin: elementor-pro

    Deprecated Argumentul $control_id este învechit începând cu versiunea 3.5.0! 2
    wp-content/plugins/elementor/modules/dev-tools/deprecation.php:304
    Plugin: elementor

    Here is the answer received from Elementor Support team:

    “As previously mentioned, you have a deprecation notice, which means that something is not compatible with Elementor, and an error with our Nav menu widget, but the header was not built with Elementor so that is out of the scope of Elementor’s technical support since we do not provide support for features that were not built with Elementor’s theme builder or standard WordPress features.”

    Thank you for checking in!

    #409162

    Artem Temos
    Keymaster

    Hello,

    Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?

    Regards

    #409248

    banatika
    Participant

    Hello,

    Thanks for checking in.

    Well, I started to check all the plugins and page elements one by one and, indeed, the “Notice Trying to access array offset on value of type null 1” errors are coming from mobile Nav Menu (hidden for desktop) built with Elementor Pro! I will get back to their support team.

    As for “The $control_id argument is deprecated since version 3.5.0!” error is coming from Dokan Pro. I’ll open a ticket asap.

    So, just removing the nav menu and disabling Dokan Pro the page loading is ~1.5 seconds faster.
    I hope this information helps other users.

    Thanks again for your kind assistance and support! You’re the best! :+1:

    #409249

    banatika
    Participant

    Another test and it’s seems that Dokan Pro works just fine with Elementor Pro deactivated – no more deprecated errors.

    So, I’ll get back to Elementor support asap.

    #409251

    Artem Temos
    Keymaster

    OK, let us know if you have any further questions.

Viewing 5 posts - 1 through 5 (of 5 total)