Fatal error in formatting.php line 450

I have an error on the clone of a site and not on the original site. I no longer dare to touch the original site in production without finding the solution on the clone. The error noted by the debug function of wordpress is:

Warning: trim() expects parameter 1 to be string, object given in /home/monsieurai/www/Clone-Prodezza/wp-includes/formatting.php on line 445

Recoverable fatal error: Object of class __PHP_Incomplete_Class could not be converted to string in /home/monsieurai/www/Clone-Prodezza/wp-includes/formatting.php on line 450

Thanks for your help.