Hi i have this custom module in dolibarr. Im new to it. How can i fix this code that the error says
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 ‘WHERE rowid = 1’ at line 1
Activate the debug bar and see the complete SQL request syntaxe to understand what is the issue.
I think a space is missing before WHERE but this need to be investigated.
WHERE rowid = 1 [DB_ERROR_SYNTAX] 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 ‘WHERE rowid = 1’ at line 1
hello i got the same error when trying to delete an excess paid saved as available discount, here is the debug UPDATE llx_facture_fourn set paye=0, fk_statut=1 WHERE (type IN (2,3) AND rowid = 187 2.46[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