I believe this comes from the IIIF Toolkit plugin. If you’re not actually using that plugin, deactivating or uninstalling it is probably your best option.
(Note: I split this topic off into a new thread; it’s really not related to the other one despite being the same kind of error message.)
Do you have IIIF data already loaded using the plugin? If you don’t have any, the simplest path toward it working is probably to uninstall the plugin, delete the IIIF Item Metadata element set if it still exists, and reinstall the plugin.
If you do have data already in those elements, then uninstalling the plugin and/or deleting the element set will lose that data. I’m not super-familiar with this plugin but in that kind of situation you might be looking at database modification as the best way forward.
I tried this and that, but somehow it didn’t work out,
so I deleted all the items and collections, then uninstalled the plugin and installed it again and it went back to normal.