I have searched the forum and am just not finding the needed fix. Zen Cart 1.5.1 and recently needed to upgrade from PHP 5.3.x TO 5.5.12 and am receiving the following PHP errors when :
This is happening when a user logs in when a virtual item only (software download) is in the cart. In the item setup under, "Product is virtual:" I have, "Yes, skip shipping address" marked AND "Always Free Shipping:" set to "No, Normal Shipping Rules"Code:PHP Warning: Illegal string offset 'id' in ..\includes\classes\shipping.php on line 32 PHP Warning: Illegal string offset 'id' in ..\includes\classes\shipping.php on line 32 //yes, this is the same as the first PHP Warning: Illegal string offset 'id' in ..\includes\modules\order_total\ot_shipping.php on line 41 PHP Warning: Illegal string offset 'id' in ..\estore\includes\modules\order_total\ot_shipping.php on line 41
Now, interesting thing is, when I change this to, "No, Shipping address Required"...I ONLY receive the following PHP error:
If I change it back to, "Yes, skip shipping address" I get the original set of errors. I can navigate my store just fine, add/remove products just fine and do just about everything except check out with a virtual product...Code:PHP Warning: Illegal string offset 'title' in ..\includes\modules\pages\checkout_shipping\header_php.php on line 88
Environment:
Zen Cart: 1.5.1
PHP 5.5.12
Platform: Server 2008 R2, IIS 7.5
Update:
I'm also getting the illegal string offset 'id' in many other php files on test orders with regular products as well


Reply With Quote

