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 MySQL server version for the right syntax to use near 'and kind = 1 ORDER BY id ASC LIMIT -1, 1' at line 1
File: /hdd2/kinogaller/domains/kinogallery.com/public_html/inc/config.php (Line 137)
#0 /hdd2/kinogaller/domains/kinogallery.com/public_html/inc/config.php(137): PDOStatement->execute(NULL)
#1 /hdd2/kinogaller/domains/kinogallery.com/public_html/inc/config.php(131): DB->_select('SELECT * FROM i...', NULL)
#2 /hdd2/kinogaller/domains/kinogallery.com/public_html/image/people.php(36): DB->fetchAll('SELECT * FROM i...')
#3 /hdd2/kinogaller/domains/kinogallery.com/public_html/image/people.php(204): frame('', '', '1')
#4 {main}