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 ''1000'' at line 38 in /var/www/vhosts/webcenter.space/httpdocs/app/libraries/Database.php:82
Stack trace:
#0 /var/www/vhosts/webcenter.space/httpdocs/app/libraries/Database.php(82): PDOStatement->execute()
#1 /var/www/vhosts/webcenter.space/httpdocs/app/libraries/Database.php(89): Database->execute()
#2 /var/www/vhosts/webcenter.space/httpdocs/app/models/Catalog.php(618): Database->results()
#3 /var/www/vhosts/webcenter.space/httpdocs/app/controllers/Catalogs.php(144): Catalog->getProductsPaginated()
#4 /var/www/vhosts/webcenter.space/httpdocs/app/libraries/Router.php(56): Catalogs->show()
#5 /var/www/vhosts/webcenter.space/httpdocs/public/index.php(7): Router->__construct()
#6 {main}
thrown in /var/www/vhosts/webcenter.space/httpdocs/app/libraries/Database.php on line 82