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 MariaDB server version for the right syntax to use near ') GROUP BY v.value,a.label ORDER BY a.order' at line 1
The SQL being executed was: SELECT a.description, CONCAT('c',a.id) as name, a.label, v.value, a.typeId, v.optionId FROM `eav_attribute_value` as v INNER JOIN `eav_attribute` as a ON a.id=v.attributeId AND a.categoryId IN(250) INNER JOIN `eav_attribute_rules` as ar ON a.id=ar.attributeId INNER JOIN eav_attribute_option as ao ON v.optionId = ao.id AND ao.attributeId = a.id WHERE ar.required=1 AND v.value IS NULL AND v.entityId in () GROUP BY v.value,a.label ORDER BY a.order

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 ') GROUP BY v.value,a.label ORDER BY a.order' at line 1
)
$_GET = [
    'category_url' => 'batarejki',
];