Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Integrity constraint violationyii\db\IntegrityException

SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "his_actions_pkey"
DETAIL: Key (id)=(107490160) already exists.
The SQL being executed was: INSERT INTO "qjmpf_his_actions" ("id", "ip_id", "created", "url", "code", "referer", "hits") VALUES (107490160, 2259878, '2024-03-28', '/companies/odeska-oblast/odesa/page-5', 200, NULL, 1) RETURNING "id"

Error Info: Array
(
    [0] => 23505
    [1] => 7
    [2] => ERROR:  duplicate key value violates unique constraint "his_actions_pkey"
DETAIL:  Key (id)=(107490160) already exists.
)
$_GET = [
    'district_id' => 1692,
    'region_id' => 351,
    'page' => '5',
];

$_SESSION = [
    '__flash' => [],
];