Software error:

DBD::mysql::st execute failed: 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 '= 4
        OR (
              != 4 AND a.id_distribuidor != 4
           )
 ...' at line 8 at /home/chilebooks/web/chilebooks.cl/cgi-bin/bookstore/store.cgi line 3699.

For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.