Unable to add selected web part(s)

I stumbled upon this post from Mikhail Dikov who explains 7 reasons why a webpart may show up in the webpart chooser but give the mentioned error when adding it to a page. None of his steps worked for me, but in the comments, Ian Campbell noted very helpfully to check the WebPart Gallery at…