Skip to:
Content
Pages
Categories
Search
Top
Bottom

add buddypress pages to wp menu issue


  • IslamAboAsd
    Participant

    @islam200788

    Hello
    I have issue when I try to add BuddyPress pages to WordPress menu it gets this issue

    Fatal error: Uncaught Error: Call to a member function get_primary() on null in /wp-content/plugins/buddypress/bp-core/bp-core-functions.php:2555 Stack trace:
     #0 /wp-content/plugins/buddypress/bp-core/bp-core-functions.php(2689): bp_nav_menu_get_loggedin_pages() 
     #1 /wp-content/plugins/buddypress/bp-core/bp-core-filters.php(744): 
        bp_nav_menu_get_item_url('activity')
     #2/wp-includes/class-wp-hook.php(287): bp_setup_nav_menu_item(Object(WP_Post))
     #3 /wp-includes/plugin.php(206): WP_Hook->apply_filters(Object(WP_Post), Array)
     #4 /wp-includes/nav-menu.php(984): apply_filters('wp_setup_nav_me...', Object(WP_Post)) 
     #5 [internal function]: wp_setup_nav_menu_item(Object(WP_Post)) 
     #6 /wp-includes/nav-menu.php(749): array_map('wp_setup_nav_me...', Array)
     #7 /wp-content/themes/ekommart/inc/megamenu/megamenu.php(34): wp_get_nav_menu_items in /wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 2555
Viewing 2 replies - 1 through 2 (of 2 total)

  • clickallco
    Participant

    @clickallco

    Did you try basic bug checking like changing your theme or shutting off plugins one by one to see what’s interfering? Go through it one by one and see if anything changes as you do it.

    Hi looks like there’s an issue with the “megamenu plugin” at line 7 > /wp-content/themes/ekommart/inc/megamenu/megamenu.php. Have you tried to deactivate this plugin ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar