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 MySQL server version for the right syntax to use near ''12' OFFSET '0'' at line 1 in /var/www/aguardiente-paso-del-macho/app/core/Database.php:44
Stack trace:
#0 /var/www/aguardiente-paso-del-macho/app/core/Database.php(44): PDOStatement->execute()
#1 /var/www/aguardiente-paso-del-macho/app/core/Database.php(49): App\Core\Database->query()
#2 /var/www/aguardiente-paso-del-macho/app/models/Product.php(28): App\Core\Database->fetchAll()
#3 /var/www/aguardiente-paso-del-macho/app/controllers/ProductController.php(17): App\Models\Product->getAll()
#4 /var/www/aguardiente-paso-del-macho/app/core/Router.php(33): App\Controllers\ProductController->indexAction()
#5 /var/www/aguardiente-paso-del-macho/app/core/App.php(12): App\Core\Router->dispatch()
#6 /var/www/aguardiente-paso-del-macho/public/index.php(15): App\Core\App->__construct()
#7 {main}
thrown in /var/www/aguardiente-paso-del-macho/app/core/Database.php on line 44