Is this reproducible if you disable all add-ons (except XFMG) and try again?
In my testing, there's no such error. It's not 100% certain that it's an add-on, but it does seem there is an add-on (Bookmarks) extending the MediaItem entity, so it's worth ruling out.