Unable to upload the pdf file using postman api in openemr 7.0.0 in unbuntu 20.04

I am unable to upload the pdf document in openemr in ubuntu system. For your reference I am attaching the response which postman showing to me

Query Error

ERROR: query failed: SELECT parent, id FROM categories WHERE replace(LOWER(name), ' ', '') = ?

Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1


/var/www/html/openemr/src/Services/DocumentService.php at 50:sqlQuery
/var/www/html/openemr/src/Services/DocumentService.php at 117:isValidPath(/home/manoj/Music/untitled5/build //SCD_GZ21000024911_U2_21032024_155443.pdf)
/var/www/html/openemr/src/RestControllers/DocumentRestController.php at 35:insertAtPath(3,/home/manoj/Music/untitled5/build//SCD_GZ21000024911_U2_21032024_155443.pdf,Array)
/var/www/html/openemr/_rest_routes.inc.php at 5712:postWithPath(3,/home/manoj/Music/untitled5/build//SCD_GZ21000024911_U2_21032024_155443.pdf,Array)
/var/www/html/openemr/src/Common/Http/HttpRestRouteHandler.php at 91:{closure}