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 "%Samsung Galaxy Tab2 7"%" )) ORDER BY `title`.`create' 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-04-18 23:11:25') AND ((title.title LIKE "%Samsung Galaxy Tab2 7"%" ) OR (title.short LIKE "%Samsung Galaxy Tab2 7"%" )) 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 "%Samsung Galaxy Tab2 7"%" )) ORDER BY `title`.`create' at line 1
)
$_GET = [
    'type' => '',
    'brand' => '',
    'keyword' => '',
    'searchText' => 'Samsung Galaxy Tab2 7"',
];

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