Need help identifying errors found in debug mode
-
I am trying to fix my user activation page (see this forum post). Here are the errors on the site in debug mode:
Error shown throughout site:
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /var/www/vhosts/thesitename.com/www/wp-includes/functions.php on line 3245
Errors shown on Activation page (after user registers they are sent an email with an activation link, they click on it and are sent to this page. The page should have content, but for some reason it is completely blank):
Notice: update_user_meta( $user_id, ‘last_activity’ ) was called incorrectly. User last_activity data is no longer stored in usermeta. Use bp_update_user_last_activity() instead. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /var/www/vhosts/thesitename.com/www/wp-includes/functions.php on line 3245
Notice: get_user_meta( $user_id, ‘last_activity’ ) was called incorrectly. User last_activity data is no longer stored in usermeta. Use bp_get_user_last_activity() instead. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /var/www/vhosts/thesitename.com/www/wp-includes/functions.php on line 3245
Fatal error: Call to undefined function bp_xprofile_create_field_type() in /var/www/vhosts/thesitename.com/www/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-classes.php on line 560
Any help would be appreciated 🙂
- The topic ‘Need help identifying errors found in debug mode’ is closed to new replies.