Page 1 of 1

how to solve this error when using ups shipping method

Posted: Wed Dec 27, 2017 2:45 pm
by amclub
opencart 2.3.0.2
when checkout , the following error will appear.
=================

[27-Dec-2017 14:21:03] WARNING: [pool www] child 21389 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught Error: Call to a member function getElementsByTagName() on null in /opencart/vqmod/vqcache/vq2-catalog_model_extension_shipping_ups.php:248"
[27-Dec-2017 14:21:03] WARNING: [pool www] child 21389 said into stderr: "Stack trace:"
[27-Dec-2017 14:21:03] WARNING: [pool www] child 21389 said into stderr: "#0 /opencart/vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php(178): ModelExtensionShippingUps->getQuote(Array)"
[27-Dec-2017 14:21:03] WARNING: [pool www] child 21389 said into stderr: "#1 /opencart/system/engine/proxy.php(25): Loader->{closure}(Array, Array)"
[27-Dec-2017 14:21:03] WARNING: [pool www] child 21389 said into stderr: "#2 /opencart/vqmod/vqcache/vq2-catalog_controller_quickcheckout_shipping_method.php(76): Proxy->__call('getQuote', Array)"
[27-Dec-2017 14:21:03] WARNING: [pool www] child 21389 said into stderr: "#3 /opencart/vqmod/vqcache/vq2-system_storage_modification_system_engine_action.php(51): ControllerQuickCheckoutShippingMethod->index()"
[27-Dec-2017 14:21:03] WARNING: [pool www] child 21389 said into stderr: "#4 /opencart/catalog/controller/startup/router.php(25): Action->execute(Object(Registry))"
[27-Dec-2017 14:21:03] WARNING: [pool www] child 21389 said into stderr: "#5 /opencart/vqmod/vqcache/vq2-system_storage_modification_system_engine_action.php(51): ControllerStartupRouter->index()"
[27-Dec-2017 14:21:03] WARNING: [pool www] child 21389 said into stderr: "#6 /opencart/system/engine/front.php(3..."

==============
Attachments is :

vq2-catalog_model_extension_shipping_ups.php
vq2-catalog_controller_quickcheckout_shipping_method.php

Re: how to solve this error when using ups shipping method

Posted: Wed Dec 27, 2017 11:34 pm
by webcorvo
Hi,

Could you send me the extensions Shipping Ups , and QuickCheckout for i can test?

Regards,

Re: how to solve this error when using ups shipping method

Posted: Thu Dec 28, 2017 10:52 am
by amclub
Shipping Ups is the opencart system itself had, QuickCheckout is a plug-in with the template, I do not know how to separate.

Re: how to solve this error when using ups shipping method

Posted: Thu Dec 28, 2017 6:10 pm
by webcorvo
amclub wrote:
Thu Dec 28, 2017 10:52 am
Shipping Ups is the opencart system itself had, QuickCheckout is a plug-in with the template, I do not know how to separate.
If you are using Journal Template, witch version are you using?