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 's-pearl' LIMIT 1' at line 1 in /home/fixstayc/public_html/db/DbPDO.php:126
Stack trace:
#0 /home/fixstayc/public_html/db/DbPDO.php(126): PDO->query('SELECT o.id_off...')
#1 /home/fixstayc/public_html/db/Db.php(266): DbPDO->_query('SELECT o.id_off...')
#2 /home/fixstayc/public_html/db/class/Db.php(65): DbCore->query('SELECT o.id_off...')
#3 /home/fixstayc/public_html/db/Db.php(509): Db->query('SELECT o.id_off...')
#4 /home/fixstayc/public_html/include/controller.php(6): DbCore->getRow('SELECT o.id_off...')
#5 /home/fixstayc/public_html/index.php(2): include('/home/fixstayc/...')
#6 {main}
thrown in /home/fixstayc/public_html/db/DbPDO.php on line 126