[Plugin: WP Bulletin Board] How to resolve this Warning: Missing argument 2 for wpbb_user_currentvis
-
I have just installed this and this is the warning message across the top of my sight.
How can this be resolved???Warning: Missing argument 2 for wpbb_user_currentvisit() in /public_html/home/xxxxxxxx.xxx/wp-content/plugins/wp-bulletin-board/php/admin/wpbb-admin-functions.php on line 180
I’ve looked at the file line reference 180-186 and it is this:
function wpbb_user_currentvisit($user_login = NULL, $user) {
/**
* @todo … Replace WP_User object with user_id (int)
*/
$date = date(“Y-m-d H:i:s”);
$update_user_currentvisit = update_user_meta($user->ID, ‘wpbb_currentvisit’, $date);
}
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: WP Bulletin Board] How to resolve this Warning: Missing argument 2 for wpbb_user_currentvis’ is closed to new replies.