Can you please use the followign code at the bottom in your theme functions.php file and deactivate the plugin?
Replace the username “admin” with your actual username in the code so that the code will execute only for the given username.
Now login and share the output, remove the code from functions.php file and activate the plugin.
You should change the username and password in the output for security reasons.
add_action('wp_login', 'test_after_login', 0, 2);
function test_after_login($username, $user){
//replace "admin" with your username
if('admin' != $username){
return;
}
$userId = !empty($user->ID) ? $user->ID : "UNKOWN USER ID";
$role = !empty($user->roles) ? implode(",", $user->roles) : "UNKOWN ROLE";
echo "<pre>";
echo "User ID is ".$userId;
echo "<br>";
echo "<br>";
echo "Username is ".$username;
echo "<br>";
echo "<br>";
echo "Role is ".$role;
echo "<br>";
echo "<br>";
echo "User object is: <br>";
print_r($user);
exit;
}