Skip to content

Magento 2.4.7 Placeorder with newly created store showing Deprecated Functionality: str_replace(): Passing null to parameter #3

I have created a new store and only when placing orderwith that store, I am getting below error:

Deprecated Functionality: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in vendor/magento/zend-db/library/Zend/Db/Adapter/Abstract.php on line 1044

all other stores works fine.

I have debugged the related files, all quote related data are correctly fetching and I couldn’t see any null values anywhere. The store configuration also done same as others.