Tagged: critical error, incompatibility, ultimate member
-
AuthorPosts
-
June 25, 2020 at 12:42 am #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/
June 26, 2020 at 3:26 am #1225700June 26, 2020 at 2:29 pm #1225830Hi 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,
VictoriaJune 29, 2020 at 8:22 pm #1226579Okay, sounds good.
June 30, 2020 at 4:42 pm #1226806Hi CWPTemplate,
Can you please tell us how to reproduce the issue step by step?
Best regards,
VictoriaJune 30, 2020 at 10:53 pm #1226942Having the Ultimate Members plugin activated and going to Appearance > Menus.
July 5, 2020 at 9:05 pm #1228084Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.
