Re: Thousands of MyDebug files!

Originally Posted by
jgold723
Does this error mean the cart is not passing a tax value (argument 2), thus generating the error?
It means some code that's running in your cart is not passing a tax value.
In this function you could just add a bit of logic:
if (!isset($$products_tax) || ($products_tax == '')) {
error_log(print_r(debug_backtrace())."\n",3,DIR_FS_CATALOG . "/cache/debug.log");
}
(Note: this hasn't been tested; please try it first before deploying it to a live site)
Scott C Wilson, That Software Guy, Plugin Moderator
Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
Bookmarks