• Plugin Contributor Champ Camba

    (@champsupertramp)


    We’ve released the version 2.1.6 that may cause compatibility issues with some themes.

    This is due to the integration with the popular library called Mega Menu that causes this issue. We recommend that you contact the Theme Developer to make the following changes to your Theme:

    The wp_nav_menu_item_custom_fields hook that expects 5 arguments are only given 4 arguments by Mega Menu and this causes the fatal error.

    WP native hook contains 5 arguments here:
    do_action( 'wp_nav_menu_item_custom_fields', $item_id, $item, $depth, $args, $id );

    File name: wp-admin/includes/class-walker-nav-menu-edit.php

    But MegaMenu library uses the same hook ‘wp_nav_menu_item_custom_fields’ but passes 4 arguments only.

    do_action( 'wp_nav_menu_item_custom_fields', $item_id, $item, $depth, $args );

  • The topic ‘Ultimate Member 2.1.6 – Theme Menus Breaking Changes’ is closed to new replies.