Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Database Exceptionyii\db\Exception

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 'JBL PartyBox Series"%" ) OR (title.short LIKE "%ลำโพง "JBL PartyBox Se' at line 1
The SQL being executed was: SELECT COUNT(*) FROM (SELECT DISTINCT * FROM `title` WHERE (`title`.`status`=1) AND (`title`.`id_type_content`=1) AND (`title`.`start_date` <= '2024-03-29 19:20:31') AND ((title.title LIKE "%ลำโพง "JBL PartyBox Series"%" ) OR (title.short LIKE "%ลำโพง "JBL PartyBox Series"%" )) ORDER BY `title`.`create_date` DESC) `c`

Error Info: Array
(
    [0] => 42000
    [1] => 1064
    [2] => 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 'JBL PartyBox Series"%" ) OR (title.short LIKE "%ลำโพง "JBL PartyBox Se' at line 1
)
$_GET = [
    'type' => '',
    'brand' => '',
    'keyword' => '',
    'searchText' => 'ลำโพง "JBL PartyBox Series"',
];

Warning: file_put_contents(/home/techxcite/www/htdocs/runtime/debug/6606b20f450f0.data): failed to open stream: Permission denied in /home/techxcite/www/htdocs/vendor/yiisoft/yii2-debug/src/LogTarget.php on line 73