ISSUE:
am upgrading a client's installation to Magento 2.4.4 & PHP 8.1, and I've faced a problem with PHP 8 incompatibilities in the ProductLabel module.
I am attaching the error with the hotfix https://gist.github.com/jbrada/de20589e06ebca9f7591b89eca2ad200
SOLUTION:
Our module has not worked with Magento 2.4.4 yet.
To resolve the issue, please edit the file app/code/Bss/ProductLabel/Helper/Data.php:

BSS Commerce is a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.
We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.
Besides, we also offer you our top tier extensions:
- BSS Commerce’s Magento 2 B2B Extension is a trusted solution for managing complex B2B operations with ease and flexibility.
- BSS Commerce’s Magento 2 SEO Extension is a reliable tool to strengthen your SEO strategy and drive sustainable growth.
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
Feedback sent
We appreciate your effort and will try to fix the article