-- HikaShop version -- : 2.3.5
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined index: XMLpackage in /home/bulkbu5/public_html/sandbox/plugins/hikashopshipping/canpar/canpar.php on line 502
Notice: Array to string conversion in /home/bulkbu5/public_html/sandbox/plugins/hikashopshipping/canpar/canpar.php on line 502
Notice: Array to string conversion in /home/bulkbu5/public_html/sandbox/plugins/hikashopshipping/canpar/canpar.php on line 502
Fatal error: [] operator not supported for strings in /home/bulkbu5/public_html/sandbox/plugins/hikashopshipping/canpar/canpar.php on line 523
I would get these errors when the grouped packages would exceed one (1). Each additional package over one would generate a string conversion error. I changed line 502 from
$data['XMLpackage'] .= $this -> _createPackage($data, $product, $rate, $order);
to
$data['XMLpackage'][] = $this -> _createPackage($data, $product, $rate, $order);
it seems to have repaired the issue for me. I also made this change to line 478. Please confirm if there is a better or alternate solution.
Also, the canpar base rate is appearing at the top of the checkout page. I'm not able to locate where in the code this is being generated. Please advise.
Thanks,
Steve