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 '))&&(1>=fromtb)&&(1<=totb)' at line 1 SQL: SELECT id,book,fromtb,totb,name,runame,type FROM maki WHERE (book=(SELECT id FROM book WHERE ))&&(1>=fromtb)&&(1<=totb)
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_book.php(311): Database::GetSingle('SELECT id,book,...') #2 /home/p218158/www/kobun.ru/content/gui/page/texts/utapage.php(22): BookAPI::GetMakiFromBookOid(NULL, 1) #3 /home/p218158/www/kobun.ru/content/pages/uta.php(22): GUI\Page\Texts\UtaPage->__construct('kohon=69', 1, Object(Data\Text\ChapterData)) #4 /home/p218158/www/kobun.ru/content/switcher.php(24): page_Print() #5 /home/p218158/www/kobun.ru/index.php(21): page_Content() #6 {main} thrown in /home/p218158/www/kobun.ru/library/database.php on line 67