Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

Last modified 8 years ago

#1096 closed enhancement (fixed)

Errors when using define('BP_IGNORE_DEPRECATED', true ); in wp-config.php

Reported by: messenlehner's profile messenlehner Owned by: messenlehner's profile 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)

bp-core.diff (583 bytes) - added by messenlehner 15 years ago.
patch for bp-core.php line 574 to not use deprecated function
profile-menu.diff (343 bytes) - added by messenlehner 15 years ago.
patch for /bp-sn-parent/profile/profile-menu.php line 3 to not use deprecated function

Download all attachments as: .zip

Change History (7)

#1 in reply to: ↑ description ; follow-up: @messenlehner
15 years ago

Replying to messenlehner:

/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

oops nevermind /groups/groupname/forum/topic/topicname/ same error because of /groups/groupname/

#2 in reply to: ↑ 1 @messenlehner
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

@messenlehner
15 years ago

patch for bp-core.php line 574 to not use deprecated function

@messenlehner
15 years ago

patch for /bp-sn-parent/profile/profile-menu.php line 3 to not use deprecated function

#3 @messenlehner
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') ?>

#4 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [1982]) Fixes #1096 props messenlehner

#5 @DJPaul
8 years ago

  • Type changed from task to enhancement
Note: See TracTickets for help on using tickets.