[04-Feb-2013 06:37:25 Australia/Melbourne] PHP Warning: Illegal string offset 'cost' in /../../../htdocs/store/includes/classes/order.php on line 349
not sure how to remedy this? thanks, Lora
[04-Feb-2013 06:37:25 Australia/Melbourne] PHP Warning: Illegal string offset 'cost' in /../../../htdocs/store/includes/classes/order.php on line 349
not sure how to remedy this? thanks, Lora
I am getting this error:
This is line 40Code:[17-Mar-2013 16:29:43 UTC] PHP Warning: Illegal string offset 'id' in /var/www/vhost/design75/public_html/includes/modules/payment/moneyorder.php on line 40
using Zen Cart 1.5.1 with PHP version: 5.4.6-1PHP Code:$check = $db->Execute("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_MONEYORDER_ZONE . "' and zone_country_id = '" . $order->billing['country']['id'] . "' order by zone_id");
I am going to implement the above fixes to see if the error is still generated. I will report back with my findings
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
no joy, the error is still there
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Design75, I'm not getting that error for the moneyorder payment class. I've got an unmodified v1.5.1 version of /includes/classes/order.php, which sets the billing['country']['id'] value into the order in the cart() function on line 428.