Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Integrity constraint violationyii\db\IntegrityException

SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'status' in where clause is ambiguous
The SQL being executed was: SELECT `services_type`.* FROM `services_type` RIGHT JOIN `services_prices` ON `services_prices`.`service_id`='49' RIGHT JOIN `prices` ON `prices`.`id`=`services_prices`.`price_id` and `prices`.`service_type_id`=`services_type`.`id` WHERE (`services_type`.`status`=1) AND (status = 1) ORDER BY `services_type`.`sort` DESC

Error Info: Array
(
    [0] => 23000
    [1] => 1052
    [2] => Column 'status' in where clause is ambiguous
)
$_GET = [
    'branche' => 'detskoe-otdelenie',
    'service' => 'allergologiya-i-immunologiya-detskaya',
];