Hello friends

I was integrating whmc for some one, everything went fine but whmcs is showing error

Code:
Notice: Undefined index: loggedin in /home/cxxxxx/public_html/client/templates_c/%%93^935^935514E9%%header.tpl.php on line 219
checked everything but there is no problem in any code in header.

line 219 of header in template cache is

Code:
<?php if ($this->_tpl_vars['loggedin']): ?>
can some one please help how to correct the problem?

Cheerz