I'm trying to save a testimonial, but I get the following error:
Deprecated Functionality: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /app/code/MGS/Testimonial/Model/FileInfo.php on line 106
There is a little bug in our module, You can fix it by creating a new testimonial and don't forget to set the image for it, the error is due to no image url and we will fix it in the next version.
I'm trying to save a testimonial, but I get the following error:
Deprecated Functionality: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /app/code/MGS/Testimonial/Model/FileInfo.php on line 106
https://formalfashionsinc.com/admin/testimonial/index/
How can I fix?
Magento 2.4.5-p1 (fresh install)
Theme: 2.1.10 (fresh install)
PHP 8.1
Screenshot video of the error:
https://watch.screencastify.com/v/4D86alZNBUvtRB207BII
Hi Mark,
There is a little bug in our module, You can fix it by creating a new testimonial and don't forget to set the image for it, the error is due to no image url and we will fix it in the next version.
Thanks
That worked, thanks. I created a blank 1x1 gif and uploaded it. Now it's saving. Thank you.