Appearance >> Menu gives visibility logic error (Debug Screen)
-
Wordpress: 5.4.1
Memberium: Version 2.161
Theme My Login: Version 7.0.15As of WordPress 5.4.1, when going to Appearance >> Menus it gives a visibility logic error and I can’t get on the Appearance >> Menus screen.
I’ve identified this is an error due to Memberium requesting for 5 parameters using wp_nav_menu_item_custom_fields and Theme My Login only using 4.
I’ve created a git issue to solve this
https://github.com/theme-my-login/theme-my-login/issues/180In theme-my-login/admin/class-theme-my-login-walker-nav-menu-edit.php, changing line 42
do_action( 'wp_nav_menu_item_custom_fields', $item->ID, $item, $depth, $args);
to
do_action( 'wp_nav_menu_item_custom_fields', $item->ID, $item, $depth, $args, $id );
Can this be implemented and updated to be update to date for wordpress 5.4.1?
- The topic ‘Appearance >> Menu gives visibility logic error (Debug Screen)’ is closed to new replies.