DoliDBMysqli::query SQL Error message

hello all.
log. we see this error in our file and it is almost full of this error message.

DoliDBMysqli::query SQL Error query: SELECT rowid, label, description, options, visible, active FROM llx_entity WHERE rowid =
DoliDBMysqli::query SQL Error message: DB_ERROR_SYNTAX You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘’ at line 1

Does anyone have a solution suggestion for this?
thanks.