Error with Ultimate Member plugin

I have the ultimate member plugin active.
When I try to edit a menu, appears this:

Fatal error: Uncaught ArgumentCountError: Too few arguments to function um\admin\core\Admin_Navmenu::wp_nav_menu_item_custom_fields(), 4 passed in /var/www/html/wp-includes/class-wp-hook.php on line 287 and exactly 5 expected in /var/www/html/wp-content/plugins/ultimate-member/includes/admin/core/class-admin-navmenu.php:59 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(287): um\admin\core\Admin_Navmenu->wp_nav_menu_item_custom_fields('543', Object(WP_Post), 0, Object(stdClass)) #1 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #2 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /var/www/html/wp-content/themes/betheme/functions/theme-mega-menu.php(283): do_action('wp_nav_menu_ite...', '543', Object(WP_Post), 0, Object(stdClass)) #4 /var/www/html/wp-includes/class-wp-walker.php(144): Walker_Nav_Menu_Edit_Mfn->start_el('', Object(WP_Post), 0, Object(stdClass)) #5 /var/www/html/wp-includes/class-wp-walker.php(244): Walker->display_element(Object(WP_Post) in /var/www/html/wp-content/plugins/ultimate-member/includes/admin/core/class-admin-navmenu.php on line 59

Comments

Sign In or Register to comment.