Page 1 of 1

shipping halted

Posted: Fri Feb 16, 2018 11:29 pm
by scott.pobanz
We uninstalled and reinstalled UPS shipping on an OpenCart 2.0.0 site and the plugin stopped working.

The UPS credentials/settings are identical as they were before.

We get some PHP warnings now and a fatal error:
fatal error call to a member function getelementsbytagname() on a non-object in
/var/www/html/vqmod/vq2-catalog_model_shipping_ups.php
on line 531

Any help would be much appreciated.

Re: shipping halted

Posted: Sat Feb 17, 2018 2:13 am
by thekrotek
The function mentioned in error is related to XML parsing, which means there's a problem with your XML file or with parsing logic.

Re: shipping halted

Posted: Sat Feb 17, 2018 2:37 am
by scott.pobanz
Thank you thekrotek for the response. Do you know what XML file UPS uses, or is a web service API XML response type thing that is giving me trouble?

Re: shipping halted

Posted: Sat Feb 17, 2018 2:59 am
by thekrotek
scott.pobanz wrote:
Sat Feb 17, 2018 2:37 am
Thank you thekrotek for the response. Do you know what XML file UPS uses, or is a web service API XML response type thing that is giving me trouble?
Nope. I'm afraid, there's not generic solution and he only way is to as a professional to look into it. Such issues usually needs to be debugged.