Catchable Fatal Error in bp-core.php on line 566
Ever since upgrading to WP 3 and BP 1.2.5, I regularly encounter the following PHP error:
Catchable fatal error: Object of class WP_Error could not be converted to string in /mnt/target02/350461/cardioexchange-dev.murraylabs.com/web/content/wp-content/plugins/buddypress/bp-core.php on line 566
This error arises in two distinct situations. First, when I am using a custom user import script that calls bp_core_signup_user and the class BP_XProfile_ProfileData to either add or update existing users with profile data from a different system. In the second instance, I’ve just submitted a Gravity Forms-powered form.
I understand that neither of these situations involves a common BuddyPress usage, but I haven’t been able to identify the cause of this problem. As the two situations are fairly distinct, my hope is that someone else has run into this error message in a situation I’ve yet to encounter.
Any help is greatly appreciated.
- The topic ‘Catchable Fatal Error in bp-core.php on line 566’ is closed to new replies.