Error in WordPress with a new post suddenly on formating.php

I'm creating a new post on a WordPress website using Elementor an suddenly this error is coming up to this new post that im building: Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /srv/vhost//home/html/wp-includes/formatting.php on line 578 Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /srv/vhost//home/html/wp-includes/formatting.php:3495 Stack trace: #0 /srv/vhost//home/html/wp-includes/class-wp-hook.php(324)... and continues with the stack trace I've already tried to change formting.php to check that the parameter is not null or empty but its creating a lot new errors, at least i want to know if there is any new component that is creating the error or how can i fix it

Comment (0)

You’ll be in good company