Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 in /home/noi/app2/app/src/model.php:474
Stack trace:
#0 /home/noi/app2/app/src/model.php(474): PDO->prepare()
#1 /home/noi/app2/app/src/controller.php(293): App\Model\Model->itemPage()
#2 /home/noi/app2/app/public/index.php(34): App\Controller\Controller->itemPage()
#3 /home/noi/app2/app/vendor/rawInclude/router.php(19): App\{closure}()
#4 /home/noi/app2/app/public/index.php(145): Router::execute()
#5 {main}
thrown in /home/noi/app2/app/src/model.php on line 474