Fatal error: Uncaught exception 'PDOException' with 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 '%%' AND lang='vn' AND status=1 ORDER BY id DESC LIMIT 0,10' at line 1' in /var/www/vhosts/m.tinmoitruong.vn/m.tinmoitruong.vn/model/database.php:43 Stack trace: #0 /var/www/vhosts/m.tinmoitruong.vn/m.tinmoitruong.vn/model/database.php(43): PDOStatement->execute() #1 /var/www/vhosts/m.tinmoitruong.vn/m.tinmoitruong.vn/model/news.php(35): DB->select('news', 'id,title,extrac...', 'search_content ...', 'id DESC', '0,10') #2 /var/www/vhosts/m.tinmoitruong.vn/m.tinmoitruong.vn/controller/Home.php(137): NewsModel->getSearch('%len'%', '0,10') #3 /var/www/vhosts/m.tinmoitruong.vn/m.tinmoitruong.vn/index.php(71): Home->Search() #4 {main} thrown in /var/www/vhosts/m.tinmoitruong.vn/m.tinmoitruong.vn/model/database.php on line 43