Check for undefined variable before using it in athene/header.php