Skip to:
Content

BuddyPress.org

Changes between Version 2 and Version 3 of Ticket #4403, comment 12


Ignore:
Timestamp:
08/07/2012 07:04:24 PM (12 years ago)
Author:
steve7777
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4403, comment 12

    v2 v3  
    1 It looks like BP Mag may be causing the 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.
     1It looks like the BP Mag theme (not plugin) may be causing the 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 or themes may cause 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.
    22
    33#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