Avada Forums Community Forum Avada 7.8.2 error (fusion_menu_style) in wp 6.1 & php8 update

Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • wordpress@peytz.dk
    Participant
    Post count: 1

    Dear,
    I got errors on updating our project to version php8.1 and wordpress 6.1,

    Details:
    avada plugin (7.8.2).
    wp6.1
    php8

    Has anyone encountered this problem?

    Error message:

    Fatal error: Uncaught Error: Attempt to assign property “fusion_menu_style” on null
    in /var/www/frontend/wp-content/themes/Avada/includes/class-avada-megamenu.php on line 145

    Call stack:

    Avada_Megamenu::add_menu_style_data_to_menu()
    wp-includes/class-wp-hook.php:308
    WP_Hook::apply_filters()
    wp-includes/plugin.php:205
    apply_filters()
    wp-includes/nav-menu.php:994
    wp_setup_nav_menu_item()
    array_map()
    wp-includes/nav-menu.php:722
    wp_get_nav_menu_items()
    wp-includes/nav-menu-template.php:151
    wp_nav_menu()
    wp-content/themes/Avada/includes/avada-functions.php:1487
    avada_secondary_nav()
    wp-content/themes/Avada/includes/avada-functions.php:1544
    avada_secondary_header_content()
    wp-content/themes/Avada/templates/header-secondary.php:20
    require()
    wp-includes/template.php:785
    load_template()
    wp-includes/template.php:718
    locate_template()
    wp-includes/general-template.php:204
    get_template_part()
    wp-content/themes/Avada/includes/avada-functions.php:1218
    avada_secondary_header()
    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-content/themes/Avada/includes/avada-functions.php:1182
    avada_header_template()
    wp-content/themes/Avada/header.php:52
    require_once()
    wp-includes/template.php:783
    load_template()
    wp-includes/template.php:718
    locate_template()
    wp-includes/general-template.php:48
    get_header()
    wp-content/themes/Avada/100-width.php:15
    include()
    wp-includes/template-loader.php:106
    require_once()
    wp-blog-header.php:19
    require()
    index.php:3
    Query Monitor
    Local development output:
    /var/www/frontend/wp-content/mu-plugins/pco-mu/pco/Core/Inc/WPExceptions.php:35:
    array (size=1)
    ‘error’ =>
    array (size=4)
    ‘type’ => int 1
    ‘message’ => string ‘Uncaught Error: Attempt to assign property “fusion_menu_style” on null in /var/www/frontend/wp-content/themes/Avada/includes/class-avada-megamenu.php:145
    Stack trace:
    #0 /var/www/frontend/wp/wp-includes/class-wp-hook.php(308): Avada_Megamenu->add_menu_style_data_to_menu(NULL)
    #1 /var/www/frontend/wp/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/frontend/wp/wp-includes/nav-menu.php(994): apply_filters(‘wp_setup_nav_me…’, Object(WP_Post))
    #3 [internal function]: wp_setup_nav_m’… (length=2622)
    ‘file’ => string ‘/var/www/frontend/wp-content/themes/Avada/includes/class-avada-megamenu.php’ (length=75)
    ‘line’ => int 145

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.