Database error: select

Message: 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 '-1, 1' at line 1 File: /hdd2/kinogaller/domains/kinogallery.com/public_html/inc/config.php (Line 142) #0 /hdd2/kinogaller/domains/kinogallery.com/public_html/inc/config.php(142): PDOStatement->execute(NULL) #1 /hdd2/kinogaller/domains/kinogallery.com/public_html/inc/config.php(132): DB->_select('SELECT * FROM w...', NULL) #2 /hdd2/kinogaller/domains/kinogallery.com/public_html/inc/class/functions.php(148): DB->fetch('SELECT * FROM w...') #3 /hdd2/kinogaller/domains/kinogallery.com/public_html/wallpaper/index.php(84): getRow('SELECT * FROM w...') #4 /hdd2/kinogaller/domains/kinogallery.com/public_html/wallpaper/index.php(193): walls->wallpaper('riseofcobra') #5 {main}