A Database Error Occurred

Error Number: 1064

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

UPDATE `ecs18_search` SET `ip` = '18.205.114.205', `referer` = '', `result` = 18, `query` = 'Craft' WHERE `query` =

Filename: /home/ecscom/public_html/app/modules/web/models/web_model.php

Line Number: 248