[buddypress-trac] [BuddyPress] #4403: Fatal Error After Upgrading to BuddyPress 1.6

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Aug 7 18:56:14 UTC 2012


#4403: Fatal Error After Upgrading to BuddyPress 1.6
--------------------------+--------------------
 Reporter:  steve7777     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  1.6.1
Component:  Core          |     Version:  1.6
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by steve7777):

 It looks like BP Mag is causing a problem (see debug trace). However,
 regardless of when the function bp_is_user() in bp-core-template.php is
 called, it should never cause a fatal error. Since my "fix" in comment 9
 seems to have corrected the error, you should still change bp-core-
 template.php, especially since other plugins may result in a fatal error.
 BTW, bp_displayed_user_id is called at lines 213, 1108 and 1117 in bp-
 core-template.php and any of these could now potentially cause a fatal
 error.

 #0 bp_is_user() called at [C:\Apache2.2\htdocs\wp-content\themes\bp-
 mag\lib\ext\bp\core-ext.php:154] #1 bpmag_fix_bp_options_nav() called at
 [C:\Apache2.2\htdocs\wp-content\themes\bp-mag\lib\bp-hooks.php:2] #2
 include_once(C:\Apache2.2\htdocs\wp-content\themes\bp-mag\lib\bp-
 hooks.php) called at [C:\Apache2.2\htdocs\wp-content\themes\bp-
 mag\functions.php:68] #3 include(C:\Apache2.2\htdocs\wp-content\themes\bp-
 mag\functions.php) called at [C:\Apache2.2\htdocs\wp-settings.php:287] #4
 require_once(C:\Apache2.2\htdocs\wp-settings.php) called at
 [C:\Apache2.2\htdocs\wp-config.php:136] #5
 require_once(C:\Apache2.2\htdocs\wp-config.php) called at
 [C:\Apache2.2\htdocs\wp-load.php:29] #6 require_once(C:\Apache2.2\htdocs
 \wp-load.php) called at [C:\Apache2.2\htdocs\wp-admin\admin.php:30] #7
 require_once(C:\Apache2.2\htdocs\wp-admin\admin.php) called at
 [C:\Apache2.2\htdocs\wp-admin\edit.php:10] Fatal error: Call to undefined
 function bp_displayed_user_id() in C:\Apache2.2\htdocs\wp-
 content\plugins\buddypress\bp-core\bp-core-template.php on line 1118

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4403#comment:12>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list