Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1376339

    After a update to Enfold 5.3 we got the following error message:

     Fatal error: Uncaught Exception: Trying to read non existing property in class avia_superobject: wpml
    in /wp-content/themes/enfold/framework/php/base-classes/class-object-properties.php on line 33
    
    Call stack
    
        aviaFramework\base\object_properties::__get()
        wp-content/themes/enfold/config-wpml/class-avia-wpml.php:1178
        avia_WPML::wpml_get_options()
        wp-content/themes/enfold/config-wpml/config.php:578
        avia_wpml_get_special_pages_ids()
        wp-includes/class-wp-hook.php:308
        WP_Hook::apply_filters()
        wp-includes/plugin.php:205
        apply_filters()
        wp-content/themes/enfold/includes/class-avia-custom-pages.php:530
        Avia_Custom_Pages::handler_hide_special_pages()
        wp-includes/class-wp-hook.php:308
        WP_Hook::apply_filters()
        wp-includes/class-wp-hook.php:332
        WP_Hook::do_action()
        wp-includes/plugin.php:565
        do_action_ref_array()
        wp-includes/class-wp-query.php:1833
        WP_Query::get_posts()
        wp-includes/class-wp-query.php:3749
        WP_Query::query()
        wp-includes/class-wp-query.php:3881
        WP_Query::__construct()
        wp-includes/block-template-utils.php:931
        get_block_templates()
        wp-includes/blocks/template-part.php:206
        build_template_part_block_instance_variations()
        wp-includes/blocks/template-part.php:246
        build_template_part_block_variations()
        wp-includes/blocks/template-part.php:257
        register_block_core_template_part()
        wp-includes/class-wp-hook.php:308
        WP_Hook::apply_filters()
        wp-includes/class-wp-hook.php:332
        WP_Hook::do_action()
        wp-includes/plugin.php:517
        do_action()
        wp-settings.php:617
        require_once()
        wp-config.php:272
        require_once()
        wp-load.php:50
        require()
        wp-login.php:12

    May be it’s an update-problem?
    Fallback again to 5.12 everything works fine (we skipped 5.2x).

    Thx

    #1376458

    Hey kisys,

    Thank you for reporting this.

    You have enabled WP_DEBUG on that install.

    If you disable it, this error will disappear.
    As a second hotfix you can remove the two following lines in enfold\config-templatebuilder\avia-template-builder\php\base-classes\class-object-properties.php

    
    throw new \InvalidArgumentException ( $message );
    

    We added these checks with 5.3 during development to catch problems – we will change it to debug notices in the next release so it does not break any longer.

    Very sorry for the inconvenience.

    Best regards,
    Günter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.