Html_entity_decode() expects parameter 1 ERROR WHEN CREATING A NEW INVOICE

Hello everyone, I need help to solve this problem, dolibarr throws this at the time of creating a new supplier invoice

Warning : html_entity_decode() expects parameter 1 to be string, object given in /home/soinesvi/public_html/spr/core/lib/functions.lib.php on line 940

Catchable fatal error : Object of class FactureFournisseur could not be converted to string in /home/soinesvi/public_html/spr/core/lib/functions.lib.php on line 3821

Hi,

Difficult to answer without knowing that dolibarr version and what hosting version you use.

Hi, im workin currently with Dolibar 10.0 and that are details for my hosting
|—|---|
|Paquete de alojamiento|sellit|
|cPanel Versión|84.0 (build 15)|
|Versión Apache|2.4.41|
|Versión PHP|7.0|
|Versión MySQL|5.6.46-cll-lve|
|Arquitectura|x86_64|
|Sistema operativo|linux|
|Versión Perl|5.10.1|