@sayfrndship
6 years ago
some how i found that underneath this code
if ( !empty( $account_details[‘errors’]->errors[‘user_name’] ) ) $bp->signup->errors[‘signup_username’] = $account_details[‘errors’]->errors[‘user_name’][0];
add_action( ‘bp_’ . $fieldname . ‘_errors’, create_function( ”, ‘echo apply_filters(\’bp_members_signup_error_message\’, “<div class=\”error\”>” . stripslashes( \” . addslashes( $error_message ) . ‘\’ ) . “</div>” );’ ) );
it was showing error, wordpress really suchks. wp is just for kids not for professionals