ERROR: 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 SQL: SELECT ch.book as bkid, bk.short as short, bk.name as bkname, bk.flags as bkflags, ch.orderid as orderid, ch.id as chid, ch.name as chname, ch.runame as chruname, ch.author as chauthor, tb.tid as tid, tb.orderid as oid, tb.text as text FROM textblock tb INNER JOIN chapter ch INNER JOIN book bk ON ch.id=tb.chapter && bk.id=ch.book WHERE tb.tid=;
Fatal error: Uncaught TypeError: Argument 1 passed to Database::FilterArray() must be of the type array, null given, called in /home/p218158/www/kobun.ru/library/database.php on line 103 and defined in /home/p218158/www/kobun.ru/library/database.php:67 Stack trace: #0 /home/p218158/www/kobun.ru/library/database.php(103): Database::FilterArray(NULL) #1 /home/p218158/www/kobun.ru/library/api/api_text.php(163): Database::GetSingle('SELECT ch.book ...') #2 /home/p218158/www/kobun.ru/content/data/text/blocks/linkblock.php(14): TextAPI::GetTextInfo(NULL) #3 /home/p218158/www/kobun.ru/content/data/text/fulltextdata.php(41): Data\Text\Blocks\LinkBlock->__construct('\xE3\x81\x86\xE3\x81\x8D\xE3\x82\x88\xE3\x81\xAB\xE3\x81\xAF...', Array) #4 /home/p218158/www/kobun.ru/content/pages/full_text.php(15): Data\Text\FullTextData->__construct('heichuu', false, false, false) #5 /home/p218158/www/kobun.ru/content/switcher.php(24): page_Print() #6 /home/p218158/www/kobun.ru/index.php(21): page_Content() #7 {main} thrown in /home/p218158/www/kobun.ru/library/database.php on line 67