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 ''24' OFFSET '0'' at line 16 in /home/zarinfilm/public_html/pages/search/index.php:155
Stack trace:
#0 /home/zarinfilm/public_html/pages/search/index.php(155): PDOStatement->execute(Array)
#1 /home/zarinfilm/public_html/pages/search/index.php(350): searchItems(Object(PDO), '\xD9\x85\xD8\xB1\xD9\x84\xDB\x8C\xD9\x86', 'fa', 'movies', '', 24, 0)
#2 {main}
thrown in /home/zarinfilm/public_html/pages/search/index.php on line 155