• Resolved petkesistvan

    (@petkesistvan)


    Hello!
    This error occurred today on one of my websites.
    Can you help me?

    [25-Mar-2024 09:15:16 UTC] PHP Warning:  Attempt to read property "labels" on null in /home/enappyci/public_html/wp-includes/post.php on line 2061
    [25-Mar-2024 09:15:16 UTC] PHP Fatal error:  Uncaught Error: Attempt to assign property "labels" on null in /wp-includes/post.php:2061
    Stack trace:
    #0 /wp-includes/post.php(2017): _get_custom_object_labels()
    #1 /wp-content/plugins/essential-addons-for-elementor-lite/includes/Extensions/Table_of_Content.php(97): get_post_type_labels()
    #2 /wp-includes/class-wp-hook.php(324): Essential_Addons_Elementor\Extensions\Table_of_Content->register_controls()
    #3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #4 /wp-includes/plugin.php(517): WP_Hook->do_action()
    #5 /wp-content/plugins/elementor/core/base/document.php(768): do_action()
    #6 /wp-content/plugins/elementor/core/document-types/page-base.php(70): Elementor\Core\Base\Document->register_controls()
    #7 /wp-content/plugins/elementor/includes/base/controls-stack.php(2382): Elementor\Core\DocumentTypes\PageBase->register_controls()
    #8 /wp-content/plugins/elementor/includes/base/controls-stack.php(565): Elementor\Controls_Stack->init_controls()
    #9 /wp-content/plugins/elementor/includes/base/controls-stack.php(313): Elementor\Controls_Stack->get_stack()
    #10 /wp-content/plugins/elementor/includes/base/controls-stack.php(2469): Elementor\Controls_Stack->get_controls()
    #11 /wp-content/plugins/elementor/includes/base/controls-stack.php(1154): Elementor\Controls_Stack->sanitize_settings()
    #12 /wp-content/plugins/elementor/includes/base/controls-stack.php(2214): Elementor\Controls_Stack->get_data()
    #13 /wp-content/plugins/elementor/core/base/base-object.php(142): Elementor\Controls_Stack->get_init_settings()
    #14 /wp-content/plugins/elementor/core/base/base-object.php(40): Elementor\Core\Base\Base_Object->ensure_settings()
    #15 /wp-content/plugins/elementor/includes/base/controls-stack.php(1168): Elementor\Core\Base\Base_Object->get_settings()
    #16 /wp-content/plugins/elementor/includes/base/controls-stack.php(1259): Elementor\Controls_Stack->get_parsed_dynamic_settings()
    #17 /wp-content/plugins/elementor/includes/base/controls-stack.php(1351): Elementor\Controls_Stack->get_settings_for_display()
    #18 /wp-content/plugins/elementor/core/base/document.php(405): Elementor\Controls_Stack->get_frontend_settings()
    #19 /wp-content/plugins/elementor/core/base/document.php(1182): Elementor\Core\Base\Document->get_container_attributes()
    #20 /wp-content/plugins/elementor/includes/frontend.php(1165): Elementor\Core\Base\Document->print_elements_with_wrapper()
    #21 /wp-content/plugins/elementor/includes/frontend.php(1060): Elementor\Frontend->get_builder_content()
    #22 /wp-includes/class-wp-hook.php(324): Elementor\Frontend->apply_builder_in_content()
    #23 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #24 /wp-includes/post-template.php(256): apply_filters()
    #25 /wp-content/plugins/elementor/modules/page-templates/module.php(190): the_content()
    #26 [internal function]: Elementor\Modules\PageTemplates\Module->print_callback()
    #27 /wp-content/plugins/elementor/modules/page-templates/module.php(207): call_user_func()
    #28 /wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(19): Elementor\Modules\PageTemplates\Module->print_content()
    #29 /wp-includes/template-loader.php(106): include('...')
    #30 /wp-blog-header.php(19): require_once('...')
    #31 /index.php(17): require('...')
    #32 {main}
      thrown in /wp-includes/post.php on line 2061
    
Viewing 6 replies - 1 through 6 (of 6 total)
  • colintd

    (@colintd)

    +1 for this

    Fatal error: Uncaught Error: Attempt to assign property “labels” on null in /var/www/html/wp-includes/post.php:2061 Stack trace: #0 /var/www/html/wp-includes/post.php(2017): _get_custom_object_labels() #1 /var/www/html/wp-content/plugins/essential-addons-for-elementor-lite/includes/Extensions/Table_of_Content.php(97): get_post_type_labels() #2 /var/www/html/wp-includes/class-wp-hook.php(324): Essential_Addons_Elementor\Extensions\Table_of_Content->register_controls() #3 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /var/www/html/wp-content/plugins/elementor/core/base/document.php(768): do_action() #6 /var/www/html/wp-content/plugins/elementor/core/document-types/page-base.php(70): Elementor\Core\Base\Document->register_controls() #7 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(2382): Elementor\Core\DocumentTypes\PageBase->register_controls() #8 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(565): Elementor\Controls_Stack->init_controls() #9 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(313): Elementor\Controls_Stack->get_stack() #10 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(2469): Elementor\Controls_Stack->get_controls() #11 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(1154): Elementor\Controls_Stack->sanitize_settings() #12 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(2214): Elementor\Controls_Stack->get_data() #13 /var/www/html/wp-content/plugins/elementor/core/base/base-object.php(142): Elementor\Controls_Stack->get_init_settings() #14 /var/www/html/wp-content/plugins/elementor/core/base/base-object.php(40): Elementor\Core\Base\Base_Object->ensure_settings() #15 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(1168): Elementor\Core\Base\Base_Object->get_settings() #16 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(1259): Elementor\Controls_Stack->get_parsed_dynamic_settings() #17 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(1351): Elementor\Controls_Stack->get_settings_for_display() #18 /var/www/html/wp-content/plugins/elementor/core/base/document.php(405): Elementor\Controls_Stack->get_frontend_settings() #19 /var/www/html/wp-content/plugins/elementor/core/base/document.php(1182): Elementor\Core\Base\Document->get_container_attributes() #20 /var/www/html/wp-content/plugins/elementor/includes/frontend.php(1165): Elementor\Core\Base\Document->print_elements_with_wrapper() #21 /var/www/html/wp-content/plugins/elementor/includes/frontend.php(1060): Elementor\Frontend->get_builder_content() #22 /var/www/html/wp-includes/class-wp-hook.php(324): Elementor\Frontend->apply_builder_in_content() #23 /var/www/html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #24 /var/www/html/wp-includes/post-template.php(256): apply_filters() #25 /var/www/html/wp-content/themes/bootscore-main/page.php(28): the_content() #26 /var/www/html/wp-includes/template-loader.php(106): include(‘…’) #27 /var/www/html/wp-blog-header.php(19): require_once(‘…’) #28 /var/www/html/index.php(17): require(‘…’) #29 {main} thrown in /var/www/html/wp-includes/post.php on line 2061
    There has been a critical error on this website.

    Plugin Support Sadman Sakib Nadvi

    (@sadmansakibnadvi)

    Hello @colintd,

    Greetings. Sorry for the inconvenience.

    We are looking into this. Please allow us some time to check and get back to you. In the meantime, can you please disable the Table of content extension and check whether you still have this error?

    Let me know. Thank you.

    colintd

    (@colintd)

    Yes, disabling the ToC extension fixes the error and makes the site operational.

    carlexplor

    (@carlexplor)

    +1 i have the same error on 1 site

    i return to 5.9.11 to have an operational website

    thanks in advance

    Plugin Support Sadman Sakib Nadvi

    (@sadmansakibnadvi)

    Hi @colintd @carlexplor,

    Greetings.

    We’re glad to inform you that we’ve released a new version of Essential Addons (v5.9.13), which includes the fix for your issue. Could you please update your plugin now? Afterwards, please follow this link:?https://d.pr/v/oT29VI?and check again.

    Note: You can check the changelog of Essential Addons here:?https://essential-addons.com/changelog/?thanks a lot again for bringing this to our attention.

    Looking forward to hearing back from you.

    Thanks.

    carlexplor

    (@carlexplor)

    yeah this update resolve the problem thank you very much for you reactivity ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Fatal error: Uncaught Error: Attempt to assign property “labels” on null’ is closed to new replies.