AbanteCart Community

Shopping Cart Operations => Support => Extension Support => Topic started by: timlight10 on October 05, 2025, 10:59:56 AM

Title: Default UPS extension crashes checkout a step 2
Post by: timlight10 on October 05, 2025, 10:59:56 AM
Hi there,
Users are reporting that when they get to checkout step 2, they get back a blank page.
In my error log I see this:
2025-10-05 8:51:16 - Unknown Error: AbanteCart core v.1.3.4 Call to a member function getElementsByTagName() on null in <b>/public_html/dps/extensions/default_ups/storefront/model/extension/default_ups.php</b> on line <b>462</b>Disabling the default UPS module allows checkouts to continue.
Any advice?
Title: Re: Default UPS extension crashes checkout a step 2
Post by: Basara on October 06, 2025, 01:35:24 AM
Quote from: timlight10 on October 05, 2025, 10:59:56 AMAny advice?
Hello.

Version 1.3.4 is quite outdated. It is recommended to make a full backup of your database and files, then update to the latest AbanteCart release. This should resolve the issue with the UPS extension and ensure you get all recent fixes and improvements.
Title: Re: Default UPS extension crashes checkout a step 2
Post by: timlight10 on October 27, 2025, 09:56:12 AM
Updating to 1.4.3 did not fix this problem.
Title: Re: Default UPS extension crashes checkout a step 2
Post by: Basara on October 27, 2025, 02:42:44 PM
Hello.
Please post new error from the log
Title: Re: Default UPS extension crashes checkout a step 2
Post by: timlight10 on November 01, 2025, 02:34:00 PM
The only thing I see in the error logs are dozens of warnings about not resizing images.
Title: Re: Default UPS extension crashes checkout a step 2
Post by: Basara on November 03, 2025, 01:20:32 AM
Hello.
Could you please describe what issue you're seeing in more detail and share a screenshot of it?
Also, please open your browser's developer console (usually with F12 or Cmd+Option+I) before you start checkout and check if there are any errors there.
Finally, could you let me know which theme you're currently using?
Title: Re: Default UPS extension crashes checkout a step 2
Post by: timlight10 on November 03, 2025, 07:21:22 PM
Sure, I just get a blank page, and I cannot select a shipping method at this point with the default_ups extension enabled. I've included the dev console in the screenshot, there are no errors.

I do however now see this in the AbanteCart error log:
2025-11-03 17:16:58 - Unknown Error: AbanteCart core v.1.4.3 Call to a member function getElementsByTagName() on null
Trace:
#0 /home4/juliann7/public_html/dps/extensions/default_ups/storefront/model/extension/default_ups.php(109): ModelExtensionDefaultUps->_processRequest('<?xml version="...')
#1 /home4/juliann7/public_html/dps/storefront/controller/responses/checkout/pay.php(1748): ModelExtensionDefaultUps->getQuote(Array)
#2 /home4/juliann7/public_html/dps/storefront/controller/responses/checkout/pay.php(357): ControllerResponsesCheckoutPay->_select_shipping(NULL)
#3 /home4/juliann7/public_html/dps/core/engine/dispatcher.php(306): ControllerResponsesCheckoutPay->main()
#4 /home4/juliann7/public_html/dps/core/engine/response.php(87): ADispatcher->dispatch()
#5 /home4/juliann7/public_html/dps/core/engine/router.php(222): ATypeResponse->build('checkout/pay')
#6 /home4/juliann7/public_html/dps/core/engine/router.php(86): ARouter->route()
#7 /home4/juliann7/public_html/dps/index.php(81): ARouter->processRoute('r/checkout/pay')
#8 {main} in /home4/juliann7/public_html/dps/extensions/default_ups/storefront/model/extension/default_ups.php on line 462

AbanteCart version 1.4.3 with the new Novator template.

I also see this message in the AbanteCart admin page:
UPS
This extension is not confirmed to work with your version of AbanteCart. Contact extension developer to confirm compatibility.
Title: Re: Default UPS extension crashes checkout a step 2
Post by: Basara on November 04, 2025, 01:40:37 AM
The default_ups module is deprecated and not compatible with AbanteCart 1.4.3, which is why you're seeing error and the blank shipping step.

Fix:
1.Go to Extensions → Shipping, find default_ups, Uninstall (and Remove if shown)
2.Go to Extensions → Shipping, install/enable new UPS (not default_ups).
Title: Re: Default UPS extension crashes checkout a step 2
Post by: timlight10 on November 04, 2025, 11:05:39 AM
The only UPS extension I see in the marketplace is one I need to pay $30 for.
Title: Re: Default UPS extension crashes checkout a step 2
Post by: Basara on November 05, 2025, 01:44:53 AM
Hello.
Just to clarify, there's no need to purchase anything from the marketplace. The new UPS shipping extension we mentioned is already included with your AbanteCart installation, it's different from the old default_ups module and does not require any additional payment.

You can find and enable it by going to:
Extensions → Shipping → UPS (please ensure it's not the one labeled default_ups).
Title: Re: Default UPS extension crashes checkout a step 2
Post by: timlight10 on November 05, 2025, 05:00:44 AM
I do not see any UPS extension except for the $30 one in the marketplace.
Title: Re: Default UPS extension crashes checkout a step 2
Post by: Basara on November 05, 2025, 05:17:46 AM
Quote from: timlight10 on November 05, 2025, 05:00:44 AMI do not see any UPS extension except for the $30 one in the marketplace.
You can download it from the latest code at https://github.com/abantecart/abantecart-src/tree/1.4.4/public_html/extensions/ups
Title: Re: Default UPS extension crashes checkout a step 2
Post by: timlight10 on November 07, 2025, 08:42:01 AM
I am working on getting this update installed. Is anyone else encountering issues getting on to the UPS Developer Portal? After logging in, I am always getting a 502 Bad Gateway error. I've tried different browsers, different computers and even different internet connections, but get the same thing. I contacted UPS but they have not been all that helpful either.
Title: Re: Default UPS extension crashes checkout a step 2
Post by: llegrand on November 07, 2025, 09:50:18 AM
Try this one

https://developer.ups.com (https://developer.ups.com)


UPS  made some changes in the location awhile back.  This is what we use in our WHY2 extension.
Title: Re: Default UPS extension crashes checkout a step 2
Post by: timlight10 on November 07, 2025, 09:51:17 AM
Same problem
Title: Re: Default UPS extension crashes checkout a step 2
Post by: llegrand on November 09, 2025, 12:37:47 PM
It works just fine. Please try clearing your PC cache and cookies.
Title: Re: Default UPS extension crashes checkout a step 2
Post by: timlight10 on November 10, 2025, 05:56:11 PM
Quote from: timlight10 on November 07, 2025, 08:42:01 AMI've tried different browsers, different computers and even different internet connections, but get the same thing.