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 '\u0026n=6\u0026d=3 and kind = 1 ORDER BY id ASC LIMIT -1, 1' at line 1 File: /home/kinogaller/domains/kinogallery.com/public_html/inc/config.php (Line 191) #0 /home/kinogaller/domains/kinogallery.com/public_html/inc/config.php(191): PDOStatement->execute(NULL) #1 /home/kinogaller/domains/kinogallery.com/public_html/inc/config.php(184): DB->_select('SELECT * FROM i...', NULL) #2 /home/kinogaller/domains/kinogallery.com/public_html/image/people.php(57): DB->fetchAll('SELECT * FROM i...') #3 /home/kinogaller/domains/kinogallery.com/public_html/image/people.php(215): frame('2636\\u0026n=6\\u...', '\xD0\x9C\xD0\xB0\xD1\x80\xD0\xB8\xD1\x8F \xD0\x9A\xD0\xBE...', 1) #4 {main}