Copy and pasting image issues

New anki user here, I have been having trouble with copying/pasting images over into anki. First, I got a notification saying that it was a problem with the add-ons I had downloaded. I restarted anki while holding “shift” to disable add-ons, then tried again. This time, it told me to go to “tools” then “check database.” I was still unable to copy/paste images, so I restarted my computer. I also attempted to screenshot the images and upload them from my computer, but this did not work either. Has anyone else had this problem?

Error message:

Anki 2.1.30 (06a69c25) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.13.6
Flags: frz=True ao=False sv=1
Add-ons, last update check: 2020-08-16 15:19:09

Caught exception:
Traceback (most recent call last):
File “aqt/”, line 1039, in onPaste
File “aqt/”, line 1036, in _onPaste
File “aqt/”, line 914, in doPaste
File “aqt/”, line 903, in _pastePreFilter
File “aqt/”, line 861, in _retrieveURL
File “anki/”, line 108, in write_data
File “anki/”, line 197, in add_media_file
File “anki/”, line 265, in _run_command
anki.rsbackend.DBError: DBError { info: “SqliteFailure(Error { code: DatabaseCorrupt, extended_code: 11 }, Some(“database disk image is malformed”))”, kind: Other }

Removing your media database should fix it: