Loi Han Posted August 18, 2014 Share Posted August 18, 2014 I have installed UPSXML version 1-4-0-1 on Oscommerce 2.3.4, everything is working fine except there is a line on top of my website: Deprecated: Assigning the return value of new by reference is deprecated in /xxxx.com /includes/classes/xml_5.php on line 25 24 function & XML unserialize(&$xml){ 25 $xml_parser=&new XML(); 26 $data=&$xml_parser->parse($xml); 27 $xml_parser->destruct(); 28 return $data: Any one help please. Quote Link to comment Share on other sites More sharing options...
♥joli1811 Posted August 18, 2014 Share Posted August 18, 2014 function & XML_unserialize(&$xml){$xml_parser = new XML();$data = $xml_parser->parse($xml); $xml_parser->destruct(); return $data;} Regards Joli Quote To improve is to change; to be perfect is to change often. Link to comment Share on other sites More sharing options...
Loi Han Posted August 18, 2014 Author Share Posted August 18, 2014 Thank you joli1811, the message has been gone. Quote Link to comment Share on other sites More sharing options...
Loi Han Posted August 18, 2014 Author Share Posted August 18, 2014 the message has been gone but UPS sent me an error: PHP error_log message: "UPSXML TimeIn Transit Error: 270014: Invalid Shipment Contents Currency experienced by customer with id 3 on 2014-08-18 23:41:26" Any comments? Quote Link to comment Share on other sites More sharing options...
Loi Han Posted August 22, 2014 Author Share Posted August 22, 2014 Any one can help with UPSXML Rates Error: 111210: The requested service is unavailable between the selected locations. experienced by customer with id on 2014-08-22 02:50:31 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.