Skip to content

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '/images/jagt/tilbehør/dang... #15

@AJenbo

Description

@AJenbo

https://sentry.io/anders-jenbo/agcms/issues/456962912/

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '/images/jagt/tilbehør/dangate/vildtkamera/spypoint-link-evo.jpg' for key 'path_3'
  File "inc/Services/DbService.php", line 116, in query
    $this->connection()->query($query);
  File "inc/Services/DbService.php", line 116, in query
    $this->connection()->query($query);
  File "inc/Models/AbstractEntity.php", line 105, in insert
    VALUES (' . implode(',', $data) . ')'
  File "inc/Models/AbstractEntity.php", line 82, in save
    $this->insert($data);
  File "inc/Http/Controllers/Admin/ExplorerController.php", line 107, in files
    $file = File::fromPath($filePath)->save();
...
(10 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions