Possible conlict with sg simple theme and nav menu roles
-
I get this message:
Nav Menu Roles has detected a possible conflict in the following locations: /plugins/ultimate-member/core/um-navmenu.php on line 13. Please direct the author of the conflicting theme or plugin to the FAQ for a solution.This is what ‘s in the um_navmenu.php:
<?phpif ( ! class_exists( ‘UM_Menu_Item_Custom_Fields’ ) ) :
class UM_Menu_Item_Custom_Fields {
line 13// public static function load() {
if ( um_get_option(‘disable_menu’) == 0 ) {
add_filter( ‘wp_edit_nav_menu_walker’, array( __CLASS__, ‘_filter_walker’ ), 200 );
}
}
public static function _filter_walker( $walker ) {
$walker = ‘UM_Menu_Item_Custom_Fields_Walker’;
if ( ! class_exists( $walker ) ) {
require_once dirname( __FILE__ ) . ‘/um-navmenu-walker.php’;
}
return $walker;
}
}
add_action( ‘wp_loaded’, array( ‘UM_Menu_Item_Custom_Fields’, ‘load’ ), 9 );
endif;
require_once dirname( __FILE__ ) . ‘/um-navmenu-walker-edit.php’;
I don’t know what to do and what is wrong ? Why it is giving this message ? How do I solve this? I’m not a php or html wizard so I’m really stuck here.
Please some help. I’m suprised that this error is coming up because i’m using a wordpress theme . This should be tested with your plugin at least.
hope to get some help soon.Ronnie
- The topic ‘Possible conlict with sg simple theme and nav menu roles’ is closed to new replies.