Fatal error: SQL ERROR [ mysql4 ]

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 [1064]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists. in /home/seoa3397/public_html/torontolawyers.ws/includes/db/dbal.php on line 640