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 '%" ) OR (title.short LIKE "%True Smart 4G 5.5"%" )) ORDER BY `title`.`create_dat' 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-28 19:46:14') AND ((title.title LIKE "%True Smart 4G 5.5"%" ) OR (title.short LIKE "%True Smart 4G 5.5"%" )) 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 '%" ) OR (title.short LIKE "%True Smart 4G 5.5"%" )) ORDER BY `title`.`create_dat' at line 1
)
$_GET = [
    'type' => '',
    'brand' => '',
    'keyword' => '',
    'searchText' => 'True Smart 4G 5.5"',
];

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