Totally Zenned
- Join Date:
- Aug 2005
- Location:
- Vic, Oz
- Posts:
- 1,816
- Plugin Contributions:
- 0
[Done v1.5.2] PHP 5.4.12, PHP Warning: Illegal string offset 'cost'
Using PHP 5.4.12 and zen v151
During checkout: Step 1 of 3 - Delivery Information
Click: Change the Address
Change the Shipping Address: add a new address or choose another.
Click: Continue, goes back to Step 1 of 3 - Delivery Information
At this point I get the error:
PHP Warning: Illegal string offset 'cost' in /home/XXXXXXX/public_html/includes/classes/order.php on line 355
Quick temporary fix. Find line 355```php
'shipping_cost' => $_SESSION['shipping']['cost'],
Change to ```php
'shipping_cost' => (isset($_SESSION['shipping']['cost']) ? $_SESSION['shipping']['cost'] : 0),
Contribs: - Time Zone Fix/Offset ■ Google Adsense ■ betterCategoriesEzInfo ■ Multi Cross Sell