Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Call to undefined function: reset()


QuickBooksSupport

Recommended Posts

I am making some mods that require changing the classes a little.

 

I frequently put in Die's to see what my variables are.

 

I am getting various Call to undefined function: reset() in Checkout_porcess

$cart->reset(true);

 

and also in Shopping_Cart Class

function remove_all() {

$this->reset();

 

I am assuming the the object $cart and $this are not set correctly

I guess that I just don't understand how to get the process

 

Can anyone shed some light on this?

 

Thanks a bunch!

Link to comment
Share on other sites

I am making some mods that require changing the classes a little.

 

I frequently put in Die's to see what my variables are.

 

I am getting various Call to undefined function: reset() in Checkout_porcess

$cart->reset(true);

 

and also in Shopping_Cart Class

function remove_all() {

$this->reset();

 

I am assuming the the object $cart and $this are not set correctly

I guess that I just don't understand how to get the process

 

Can anyone shed some light on this?

 

Thanks a bunch!

 

Hey

 

can you put in the exact error you got and what you did in the first place to et that one ;).. It would hep us help you a lot..

 

Cheers

Hari

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...