stevenkword / BuddyPress-Automatic-Friends

Automatically create and accept friendships for specified users upon new user registration. * Requires BuddyPress
4 stars 3 forks source link

PHP Notice: get_user_meta( $user_id, 'last_activity' ) was called <strong>incorrectly</strong> #6

Open cshenry13 opened 3 years ago

cshenry13 commented 3 years ago

I'm also getting this notice:

PHP Notice: get_user_meta( $user_id, 'last_activity' ) was called <strong>incorrectly</strong>. User last_activity data is no longer stored in usermeta. Use bp_get_user_last_activity() instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 2.0.0.) in C:\xampp2020-2\htdocs\20200720_openinindiana\wp-includes\functions.php on line 5311