Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1225385

    There is an issue with the newest Ultimate Member plugin version update and this theme that creates a critical error. My team needs Ultimate Member to support our websites’ communities, please fix this!

    More info here:

    https://wordpress.org/support/topic/ultimate-member-2-1-6-theme-menus-breaking-changes/

    #1225700

    Bump

    #1225830

    Hi CWPTemplate,

    Can you please check the server log for error?

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1226579

    Okay, sounds good.

    #1226806

    Hi CWPTemplate,

    Can you please tell us how to reproduce the issue step by step?

    Best regards,
    Victoria

    #1226942

    Having the Ultimate Members plugin activated and going to Appearance > Menus.

    #1228084

    Hi,

    Thank you for the update.

    The wp_nav_menu_item_custom_fields hook is used in the themes\enfold\functions-enfold.php file, look for the avia_menu_button_style function and starting from line 1779 you’ll see this code:

    add_action('wp_nav_menu_item_custom_fields', 'avia_menu_button_style', 10, 4);
    
    	function avia_menu_button_style($output, $item, $depth, $args)
    

    Replace it with:

    add_action('wp_nav_menu_item_custom_fields', 'avia_menu_button_style', 10, 5);
    
    	function avia_menu_button_style($output, $item, $depth, $args, $id)
    

    Another instance is inside the themes\enfold\framework\php\class-megamenu.php around line 534:

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

    Add the $id parameter in the hook.

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

    We’ll forward the changes to our channel.

    Best regards,
    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.