• I’m getting a fatal error when trying to access activity permalinks. E.G. : https://lhero.org/members/activity/161310/

    here is the stack trace:

    [01-Sep-2023 07:43:39 UTC] PHP Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /***/wp-includes/functions.php on line 5905
    [01-Sep-2023 07:44:07 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_primary() on null in /***/wp-content/plugins/buddypress/bp-core/bp-core-buddybar.php:577
    Stack trace: 0 /***wp-content/plugins/buddypress/bp-core/bp-core-buddybar.php(496): bp_core_create_subnav_link(Array, ‘members’) 1 /***wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php(560): bp_core_new_subnav_item(Array, ‘members’) 2 /***wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-component.php(280): BP_Component->setup_nav(Array, Array) 3 /***wp-content/plugins/bp-rewrites/src/bp-xprofile/classes/class-xprofile-component.php(63): BP_XProfile_Component->setup_nav(Array, Array) 4 /***wp-includes/class-wp-hook.php(310): BP\Rewrites\XProfile_Component->setup_nav(”) 5 /***wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) 6 /***/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 7 /***/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(155): do_action(‘bp_setup_nav’) 8 /***/wp-includes/class-wp-hook.php(310): bp_setup_nav(Object(WP_Query)) 9 /***/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) 10 /***/wp-includes/plugin.php(565): WP_Hook->do_action(Array) 11 /***/wp-content/plugins/bp-rewrites/src/bp-core/bp-core-template-loader.php(56): do_action_ref_array(‘bp_parse_query’, Array) 12 /***/wp-includes/class-wp-hook.php(310): BP\Rewrites\bp_parse_query(Object(WP_Query)) 13 /***/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array) 14 /***l/wp-includes/plugin.php(565): WP_Hook->do_action(Array) 15 /***/wp-includes/class-wp-query.php(1140): do_action_ref_array(‘parse_query’, Array) 16 /***/wp-includes/class-wp-query.php(1868): WP_Query->parse_query() 17 /***/wp-includes/class-wp-query.php(3800): WP_Query->get_posts() 18 /***/wp-includes/class-wp.php(662): WP_Query->query(Array) 19 /***/wp-includes/class-wp.php(782): WP->query_posts() 20 /***/wp-includes/functions.php(1335): WP->main(”) 21 /***/wp-blog-header.php(16): wp() 22 /***/index.php(17): require(‘/home/melbour9/…’) 23 {main}

    thrown in /***/wp-content/plugins/buddypress/bp-core/bp-core-buddybar.php on line 577

    I hope this can be fixed

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘fatal error on activity permalinks’ is closed to new replies.