sambadave Posted February 21, 2005 Share Posted February 21, 2005 I have installed the zonesx-multiple packaging contribution and this works fine when the total weight is under the maximum (of 20Kg). However, when it goes over this maximum, although the display in the checkout_shipping page is correct i.e. Package 1 Postage to GB 18 kg(s) ?11.21 Package 2 Postage to GB : 3 kg(s) ?7.20 Total Postage to GB : 21 kg(s) ?18.41 I get the following warning at the top of the page : Warning: uksort(): Invalid comparison function. in /xxxxx/web/catalog/includes/modules/shipping/zonesx.php on line 132 Can anyone explain why this warning could occur and any workarounds for it ? Dave Link to comment Share on other sites More sharing options...
sambadave Posted February 21, 2005 Author Share Posted February 21, 2005 Solved it ! Replaced the call to uksort with : ksort($wg2qty); $wg2qty = array_reverse($wg2qty); Now it works. :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.