( ! ) Fatal error: SQL ERROR [ mysqli ]

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 /var/www/life/board/includes/db/dbal.php on line 757
Call Stack
#TimeMemoryFunctionLocation
10.00261373416{main}( )../assignment.php:0
20.01273234200getBreadcrumb( )../assignment.php:863
30.01333236232dbal_mysqli->sql_query( )../breadcrumb.php:51
40.01333236392dbal->sql_error( )../mysqli.php:182
50.01343238408trigger_error ( )../dbal.php:757