Zen Follower
- Join Date:
- Jun 2006
- Location:
- Atlanta, GA
- Posts:
- 124
- Plugin Contributions:
- 0
Debug: USPS.php PHP Warning: Invalid argument supplied for foreach()
I'm getting this debug error:
PHP Warning: Invalid argument supplied for foreach()
and it points to this in usps.php
//Get value of package - used for insurance and cod.
$value=0;
foreach ($order->products as $p) {
$value+=$p['final_price']*$p['qty'];
}
$this->_setValue($value);
Any ideas?
http://www.divinelighting.com -- Super Orders 3.0 -- Ultimate SEO -- Quantity Discounts -- SitemapXML -- Image Handler -- Shipworks