Update functions.php

$current_user must be globalized..