Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Integrity constraint violationyii\db\IntegrityException

SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'id' in where clause is ambiguous
The SQL being executed was: SELECT COUNT(*) FROM `estate_object` LEFT JOIN `estate_type_object` ON estate_object.id_type_object = estate_type_object.id WHERE ((`archive`=0) AND (`status`=1)) AND (`id`='314086')

Error Info: Array
(
    [0] => 23000
    [1] => 1052
    [2] => Column 'id' in where clause is ambiguous
)
$_GET = [
    'id' => '314086',
];