üyenin session ını değil de idsini almak daha doğru olmaz mı?
Alıntı
global $current_user;
$id = $current_user->ID;