@reflexusNo, I was not able to reproduce such bug.
$user = User::newInstance()->findByPrimaryKey(osc_logged_user_id());
<?php $loc = trim(implode(', ', array_filter(array(osc_user_country(), osc_user_region(), osc_user_city(), osc_user_zip(), osc_user_address())))); ?>
<?php $loc = trim(implode(', ', array_filter(array($user['fk_c_country_code'], $user['s_region'], $user['s_city'], $user['s_zip'], $user['s_address'])))); ?>