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 MariaDB server version for the right syntax to use near 'ORDER BY `antutu_score` DESC LIMIT 10' at line 1
The SQL being executed was: SELECT `item`.`id`, `category_id`, `full_name`, `product_price`, `details_text_9`, `top_percent_sum`, `antutu_score`, `antutu_status` FROM `item` LEFT JOIN `category` ON `item`.`category_id` = `category`.`id` WHERE active=1 and category_id=2 and product_price > 0 and not item.id=17481 and antutu_score > 1 and antutu_score <= ORDER BY `antutu_score` DESC LIMIT 10

Error Info: Array
(
    [0] => 42000
    [1] => 1064
    [2] => 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 'ORDER BY `antutu_score` DESC LIMIT 10' at line 1
)
$_GET = [
    'id' => '17481',
    'seo' => 'xiaomi-black-shark-4',
];

$_SESSION = [
    '__flash' => [],
    '__returnUrl' => '/he/phone/antutu/17481/xiaomi-black-shark-4',
];