Notice: Undefined index: all?portion=all in /var/www/a-book.top/portion-generic.php on line 71

Fatal error: Uncaught Exception: 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 'all?portion=all) order by rating desc limit 150' at line 1 query: SELECT id, fullname, linkid, name, author, perfomer, dateissue, picture, imagepath, description, kind, magnet, daterg, portion, downloads, rating FROM app.topall where portion in (all?portion=all) order by rating desc limit 150 ; in /var/www/a-book.top/MysqliDb.php:1996 Stack trace: #0 /var/www/a-book.top/MysqliDb.php(559): MysqliDb->_prepareQuery() #1 /var/www/a-book.top/portion-generic.php(88): MysqliDb->rawQuery('SELECT id, full...') #2 {main} thrown in /var/www/a-book.top/MysqliDb.php on line 1996