Jump to content

whmcs error: Notice: Undefined index: loggedin || help please.


Recommended Posts

Hello friends


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


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


<?php if ($this->_tpl_vars['loggedin']): ?>


can some one please help how to correct the problem? an urgent help would be much appreciate.


Cheerz :)

Link to comment
Share on other sites

smarty condition is being used and it is giving the error.

I pasted the code from file in template cache which is in php.....


If this is in a template, why not use a smarty conditional rather than PHP? Seems rather pointless to use PHP in this fashion when its already loaded into smarty.


{if $loggedin}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated