#1096 closed enhancement (fixed)
Errors when using define('BP_IGNORE_DEPRECATED', true ); in wp-config.php
Reported by: | messenlehner | Owned by: | messenlehner |
---|---|---|---|
Milestone: | 1.2 | Priority: | major |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
/members/username/
Fatal error: Call to undefined function bp_core_get_userid_from_user_login() in /wp-content/plugins/buddypress/bp-core.php on line 574
/groups/groupname/
Fatal error: Call to undefined function bp_core_add_nav_default() in /wp-content/plugins/buddypress/bp-groups.php on line 263
/groups/groupname/forum/topic/topicname/
Fatal error: Call to undefined function bp_core_add_nav_default() in /wp-content/plugins/buddypress/bp-groups.php on line 263
Attachments (2)
Change History (7)
#1
in reply to:
↑ description
;
follow-up:
↓ 2
@
15 years ago
#2
in reply to:
↑ 1
@
15 years ago
/members/username/
Fatal error: Call to undefined function bp_core_get_userid_from_user_login() in /wp-content/plugins/buddypress/bp-core.php on line 574
/groups/groupname/
Fatal error: Call to undefined function bp_core_add_nav_default() in /wp-content/plugins/buddypress/bp-groups.php on line 263
@
15 years ago
patch for /bp-sn-parent/profile/profile-menu.php line 3 to not use deprecated function
#3
@
15 years ago
- Owner set to messenlehner
- Status changed from new to accepted
Submitted two patches for errors that occur at /members/username/
Fatal error: Call to undefined function bp_core_get_userid_from_user_login() in /wp-content/plugins/buddypress/bp-core.php on line 574
Changed:
return apply_filters( 'bp_core_get_displayed_userid', bp_core_get_userid_from_user_login( $user_login ) );
To:
return apply_filters( 'bp_core_get_displayed_userid', bp_core_get_userid( $user_login ) );
Fatal error: Call to undefined function bp_the_avatar() in /bp-sn-parent/profile/profile-menu.php on line 3
Changed:
<?php bp_the_avatar() ?>
To:
<?php bp_displayed_user_avatar('type=full') ?>
Replying to messenlehner:
oops nevermind /groups/groupname/forum/topic/topicname/ same error because of /groups/groupname/