Smile-SA / magento2-module-product-label

Module to handle custom labels with images on products
Open Software License 3.0
53 stars 34 forks source link

Fix for php8.1 conversation to explode function #39

Closed krasii closed 1 year ago

krasii commented 1 year ago

*Description ()**

Fix compatibility with php8.1 and magento2.4.4. Error during save product "Deprecated Functionality: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/html/vendor/smile/module-product-label/Helper/Data.php on line 89"

Related Pull Requests

Fixed Issues (if relevant)

*Manual testing scenarios ()**

  1. Create product label with any attributes
  2. Save product with this attribute

Questions or comments

cemag44300 commented 1 year ago

Hello @krasii , I have just published a new version of the module, you can see if that fixes your problem. https://github.com/Smile-SA/magento2-module-product-label/releases/tag/1.2.0