Currently unable to update a profile picture
It was reported by @mrybczyn that she was not able to update her profile picture. I tried to do the same on the webdev profile and I also had the following error:
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'temporary://picture-1-1582578120 (1).png' for key 'uri': INSERT INTO {file_managed} (uid, filename, uri, filemime, filesize, status, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => 1 [:db_insert_placeholder_1] => picture-1-1582578120 (1).png [:db_insert_placeholder_2] => temporary://picture-1-1582578120 (1).png [:db_insert_placeholder_3] => image/png [:db_insert_placeholder_4] => 15631 [:db_insert_placeholder_5] => 0 [:db_insert_placeholder_6] => 1721994465 ) in drupal_write_record() (line 7545 of /localsite/api.eclipse.org/includes/common.inc).
I tested uploading an image with a different name and it's working normally.
I get an error only when trying to upload an image with the same name twice.