You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relevant, this line is receiving an error Deprecated Functionality: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/vendor/magento/zend-db/library/Zend/Db/Statement.php on line 222
When I create a update query with an IN statement for string that contain a double quote the $sql is null after the preg_replace at
magento-zend-db/library/Zend/Db/Statement.php
Line 210 in 475addb
Original sql:
original.txt
Sql after replace on
magento-zend-db/library/Zend/Db/Statement.php
Line 198 in 475addb
after_replace.txt
Solution is to add an null check and return an empty string on line 211
The text was updated successfully, but these errors were encountered: