cancel
Showing results for 
Search instead for 
Did you mean: 

str_replace with Magento Community 2.4.7 and php 8.1

str_replace with Magento Community 2.4.7 and php 8.1

I have a new installation of magento community edition v 2.4.7 but during checkout I'm getting this error:
[2024-09-19T07:06:49.757455+00:00] main.CRITICAL: Exception: Deprecated Functionality: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/magento2/vendor/magento/zend-db/library/Zend/Db/Adapter/Abstract.php on line 1044 in /var/www/html/magento2/vendor/magento/framework/App/ErrorHandler.php:62

I'm running all the software versions stated in the installation instructions listed in the system requirements. 

Is this a common issue with this version?