M2.4.4, v1.0.4: Fix the incompatibility with PHP 8.1

Created by Esther Nguyen, Modified on Wed, 22 Apr at 12:25 AM by Support Agent

Get to know us!!


BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.


Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.


Improve your website performance by choosing our extensions:

ISSUE:

I have purchased a product widget slider extension for Magento version 2.4.4 open source. I have installed it successfully. However, I get the below error. 


Error filtering template: Deprecated Functionality: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in app/code/Bss/ProductsWidgetSlider/view/frontend/templates/product/widget/content/default.phtml on line 118



SOLUTION:

Currently, our module has not worked properly with PHP 8.1


To resolve the issue, please edit the file app/code/Bss/ProductsWidgetSlider/view/frontend/templates/product/widget/content/default.phtml as below:


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


Get to know us!!


BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.


Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.


Improve your website performance by choosing our extensions:

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 at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article