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` = '44.206.248.122', `referer` = '', `result` = 29, `query` = 'Food' WHERE `query` =

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

Line Number: 248