Closed AlexanderWillner closed 1 year ago
@aschempp wdyt?
Same in formatter on line 135. I prepended a $value = (String) $value; before the if statement.
I think it should rather be investigated why $varValue
is (already) an array at this point.
Fixed in b48ed49c2b78ad05128696dbbde697ceb22ba4b6
Description: In Isotope Cart: str_contains(): Argument #1 ($haystack) must be of type string, array given Version: Contao 4.25.25 / Isotope 2.8 / Haste 4.25.25 URL: https://localhost/warenkorb.html
Steps that will reproduce the problem?
What is the expected result? Product in cart.
What happens instead? str_contains(): Argument #1 ($haystack) must be of type string, array given
Possible workaround In
/vendor/codefog/contao-haste/library/Haste/Util/Format.php:166
:Any additional information:
Screenshot of product in frontend:
Stack Trace: