Hi nss4wpfixes,
I haven’t heard any other similar reports. What is the full error please?
Regards,
Tom
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
Thanks.
Does it help if you disable the wp-snippets plugin?
Regards,
Tom
I disabled the wp-snippets plugin and still received the error message. What else can we try?
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
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
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
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
Great, I’ll include it in the next update.
Regards,
Tom