• Resolved nss4wpfixes

    (@nss4wpfixes)


    Is anyone else having an issue with Max Mega Menu Version 3.1.1 not being compatible with WordPress Version 6.2?  Is there an update for Max Mega Menu or a fix to make them compatible?  The errors starts with this…PHP Warning:  Undefined property: stdClass::$walker in

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi nss4wpfixes,

    I haven’t heard any other similar reports. What is the full error please?

    Regards,
    Tom

    Thread Starter nss4wpfixes

    (@nss4wpfixes)

    Here are a few snippets of the errors:

    PHP Warning:  Undefined property: stdClass::$walker in /………      wp-content/plugins/megamenu/megamenu.php on line 521

    PHP Warning:  Undefined array key “embed” in /………  wp-content/plugins/code-snippets/php/snippet-ops.php(504) : eval()’d code on line 2

    Plugin Author megamenu

    (@megamenu)


    Thanks.
    Does it help if you disable the wp-snippets plugin?

    Regards,
    Tom

    Thread Starter nss4wpfixes

    (@nss4wpfixes)

    I disabled the wp-snippets plugin and still received the error message. What else can we try?

    Plugin Author megamenu

    (@megamenu)

    Hi nss4wpfixes,

    The best thing to do would be to switch theme and try disabling plugins to see if you can track down the root of the problem.

    Regards,
    Tom

    Thread Starter nss4wpfixes

    (@nss4wpfixes)

    Thanks Tom, but our Theme is custom so cannot change that.  Below is the full error.  
    
    We are getting this PHP error message.  The Message area says Undefined property: stdClass::$walker.  The Location is below.  The Component is Plugin: megamenu.  Please help.
    
    wp-content/plugins/megamenu/megamenu.php:521
    
    Mega_Menu->add_responsive_toggle()
    
    wp-includes/class-wp-hook.php:308
    
    apply_filters('wp_nav_menu')
    
    wp-content/themes/functions.php:73
    
    twentyseventeen_setup()
    
    wp-includes/class-wp-hook.php:308
    
    do_action('after_setup_theme')
    
    wp-settings.php:601

    Plugin Author megamenu

    (@megamenu)

    Hi,

    For testing, please try changing line 521 of megamenu.php to:

    if ( ! property_exists($args, 'walker') || ! $args->walker || ! is_a( $args->walker, 'Mega_Menu_Walker' ) ) {

    If that works, I will add it to the plugin in the next update.

    Regards,
    Tom

    Thread Starter nss4wpfixes

    (@nss4wpfixes)

    HI Tom, we wanted to let it run for a bit and it looks like the fix you sent worked! Thank so much for your help. Sincerely, Raul Garcia

    Plugin Author megamenu

    (@megamenu)

    Great, I’ll include it in the next update.

    Regards,
    Tom

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Compatibility Issue’ is closed to new replies.