M2.4.4, v2.2.9(Klarna Removal): Fix conflict with Magento 2.4.4

Created by Esther Nguyen, Modified on Tue, 30 Aug 2022 at 04:51 PM by Esther Nguyen


We have upgraded the Magento to 2.4.4 and using the extension of One step checkout version 2.2.9.

Currently, we are facing an error on the checkout page: 

Error: Exception #0 (Exception): Deprecated Functionality: trim(): Passing null to parameter #1 ($string) of type string is deprecated in app/code/Bss/OneStepCheckout/Controller/Index/Index.php on line 164



There is a conflict issue between our module and Magento 2.4.4

To resolve the issue, please edit the file app/code/Bss/OneStepCheckout/Controller/Index/Index.php:

If you need any further assistance, please feel free to contact us. We'd be happy to support you!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article