support

Unknown Error: AbanteCart core v.1.4.3 Cannot use object of type stdClass as ar

Started by timlight10, November 10, 2025, 12:16:32 PM

Previous topic - Next topic

timlight10

Hi there, I have had some customers write in that they are struggling to check out. I see this error in the log:

Unknown Error: AbanteCart core v.1.4.3 Cannot use object of type stdClass as array
Trace:
#0 /home4/juliann7/public_html/dps/core/engine/extensions.php(168): ExtensionDefaultPPExpress->onControllerPagesSaleOrder_UpdateData('payment_details', NULL)
#1 /home4/juliann7/public_html/dps/core/engine/extensions.php(196): ExtensionCollection->dispatchMethod('onControllerPag...', Array)
#2 /home4/juliann7/public_html/dps/core/engine/extensions.php(1202): ExtensionCollection->__call('onControllerPag...', Array)
#3 /home4/juliann7/public_html/dps/core/engine/extensions.php(405): ExtensionsApi->__ExtensionsApiCall('_UpdateData', Array)
#4 /home4/juliann7/public_html/dps/admin/controller/pages/sale/order.php(1433): ExtensionsApi->__call('hk_UpdateData', Array)
#5 /home4/juliann7/public_html/dps/core/engine/dispatcher.php(306): ControllerPagesSaleOrder->payment_details()
#6 /home4/juliann7/public_html/dps/core/engine/dispatcher.php(341): ADispatcher->dispatch(Object(ControllerCommonPage))
#7 /home4/juliann7/public_html/dps/core/engine/page.php(110): ADispatcher->dispatch()
#8 /home4/juliann7/public_html/dps/core/engine/router.php(204): APage->build('common/page')
#9 /home4/juliann7/public_html/dps/core/engine/router.php(86): ARouter->route()
#10 /home4/juliann7/public_html/dps/index.php(81): ARouter->processRoute('sale/order/paym...')
#11 {main} in /home4/juliann7/public_html/dps/extensions/default_pp_express/core/default_pp_express.php on line 598

I am using Stripe, PayPal Commerce and Cheque / Money Order payment extensions in my AbanteCart 1.4.3 store.

Basara

Hello.
The error you're seeing comes from the old PayPal Express extension (default_pp_express), which has been deprecated for years and is not compatible with AbanteCart 1.4.x. This extension should be completely removed from your store. Even if you are not actively using it, it can still hook into order or checkout events and trigger errors like the one in your log.

Please go to Extensions → Payments and make sure PayPal Express (default_pp_express) is uninstalled.

As for the customers who reported checkout issues, please ask them for more details so we can narrow down the cause:
What products were they trying to order?
What currency were they using?
Did they use any coupon or discount code?
At what step in the checkout did the problem occur: after selecting a delivery method, or at the payment selection step?
Which delivery and payment methods did they select?

These details will help identify whether the issue is related to a specific product, currency configuration, or payment/shipping extension.

timlight10

The issue is that the checkout process stops at the payment screen, because of this error. I do not have the PayPal Express extension enabled.

Basara

Did you migrate to a new host recently? The error clearly states you have /home4/juliann7/public_html/dps/extensions/default_pp_express/ directory

timlight10

Same host. The extension might be present on the server, I have used the same host since AbanteCart 1.3, but the extension is turned off. For safe keeping, I will uninstall and delete it from the server and see if the issue persists.

I am surprised to see that a disabled extension could still effect the checkout process.

Basara

Quote from: timlight10 on November 11, 2025, 08:24:56 AMSame host. The extension might be present on the server, I have used the same host since AbanteCart 1.3, but the extension is turned off. For safe keeping, I will uninstall and delete it from the server and see if the issue persists.

I am surprised to see that a disabled extension could still effect the checkout process.

Even if an extension is disabled in AbanteCart, its files can still be loaded by PHP. This means that any incompatible or outdated code within that extension can still interfere.

Once it's fully deleted, clear the AbanteCart cache and log

Forum Rules Code of conduct
AbanteCart.com 2010 -