Welcome Guest, Not a member yet? Register   Sign In
Fatal error: Call to undefined method Welcome::load_vars()
#1

[eluser]jazzplayermark[/eluser]
I just started getting this error. I'm totally stumped. Is this a core error?

Here is the code:

Code:
if (count($_SESSION['cart']) == true){
        $data['main'] = 'shoppingcart';
        $nav['navlist'] = $this->MCats->getCategoriesNav();
        $this->load_vars($data);
        $this->load->view('template');
      }

Any help is appreciated. thanks
#2

[eluser]WanWizard[/eluser]
No, this is your error. There is no method called load_vars().

Perhaps you want to use
Code:
$this->load->vars($data);
#3

[eluser]jazzplayermark[/eluser]
duh... I only looked at this 10 times.....
#4

[eluser]WanWizard[/eluser]
Smile




Theme © iAndrew 2016 - Forum software by © MyBB