Error nav menu.php
-
When installing the plugin everything is fine, however when entering the internal menu of the wordpress to create or modify menus on the page I get that there has been a fatal error.
Error information:
WordPress versión 5.4.1
Tema actual: Salient (versión 11.0.4)
Plugin actual: Ultimate Member (versión 2.1.6)
PHP versión 7.3.17What I can do?
thanksDetalles del error
==================
Se ha producido un error del tipo E_ERROR en la línea 59 del archivo /home/az70e2mygyzz/public_html/wp-content/plugins/ultimate-member/includes/admin/core/class-admin-navmenu.php. Mensaje de error: Uncaught ArgumentCountError: Too few arguments to function um\admin\core\Admin_Navmenu::wp_nav_menu_item_custom_fields(), 4 passed in /home/az70e2mygyzz/public_html/wp-includes/class-wp-hook.php on line 287 and exactly 5 expected in /home/az70e2mygyzz/public_html/wp-content/plugins/ultimate-member/includes/admin/core/class-admin-navmenu.php:59
Stack trace:
#0 /home/az70e2mygyzz/public_html/wp-includes/class-wp-hook.php(287): um\admin\core\Admin_Navmenu->wp_nav_menu_item_custom_fields(0, Object(WP_Post), 0, Object(stdClass))
#1 /home/az70e2mygyzz/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#2 /home/az70e2mygyzz/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /home/az70e2mygyzz/public_html/wp-content/themes/salient/nectar/assets/functions/wp-menu-custom-items/walker-nav-menu-edit.php(67): do_action(‘wp_nav_menu_ite…’, 0, Object(WP_Post), 0, Object(stdClass))
#4 /home/az70e2mygyzz/public_html/wp-content/themes/salient/nectar/assets/functions/wp-menu
- The topic ‘Error nav menu.php’ is closed to new replies.