Error

Error message

PDOException: SQLSTATE[42000]: Syntax error or access violation: 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: SELECT BookId FROM books where ActualBook = 0 and LanguageID = ; Array ( ) in include() (line 63 of /var/www/html/sites/all/modules/books/bookdetail.tpl.php).
The website encountered an unexpected error. Please try again later.