WAIT: Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/wp-includes/formatting.php

Hi all,

while I am pretty sure that this is my fault. I get the above error. I know that the visitors don’t see it but I would still like to get rid of this. I found several entries about deprecated warnings but not this one and it seems to be caused by bricks. Before I posted here I even updated to 2.2 and as no one else is posting it, please forgive me if the issue lies somewhere als but according to my basic research (asking ChatGPT and Gemini) I added a short snippet to the code and it identified this as the root-cause:

/var/www/html/wp-content/themes/bricks/includes/frontend.php

Line: 258

Any idea what I am doing wrong?

Thanks for your support and best regards,

Oliver

Hi @quicky ,

Do you know if it’s generating when landing on a specific page or entire site?

Did you try deactivating plugins and checking again?

If the issue still persists, please send admin access to help@bricksbuilder.io and include this forum thread URL as a reference.

Regards,

Jenn