Hello, any ideas? megamenus not working here: https://infograma.net
Thanks!
-
This topic was modified 3 years by
Dandabass.
Hi, thanks, did that, and found that Mega Menus work after disabling the Ultimate Member plugin (https://ultimatemember.com/).
What now?
Thanks!
Someone at the Ultimate Member support forum wrote this: https://wordpress.org/support/topic/ultimate-member-2-1-6-theme-menus-breaking-changes/ Maybe you could pass it on to the right person, and could help solving this. Thanks!
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 );
Ok this worked: https://wordpress.org/support/topic/error-nav-menu-php/#post-12972836
Basically going back to Ultimate Member 2.1.5
yeah, you were right, after purging the cache, it worked. Now, this version of Ultimate Member comes with a beautiful critical problem:
* The Plugin “Ultimate Member” needs an upgrade (2.1.5 -> 2.6.2).
Update includes security-related fixes.
Vulnerability Severity: 10.0/10.0 (Critical)
so, PLEASE!:
– Recommend an ultimate member alternative that has been tested on the theme, or
– Fix the mega-menu compatibility https://wordpress.org/support/topic/ultimate-member-2-1-6-theme-menus-breaking-changes/
Thanks!
Hello,
You can use the tagDiv Opt-in Builder -> https://forum.tagdiv.com/tagdiv-opt-in-builder/
Also, I will add this request to the list.
Thank you!
Hi,
You can request custom work -> https://tagdiv.com/web-development-services/ with the necessary details about your issue.
Thank you!