After an image has been attached if I try to insert it inline into the post I get the following error:

Error:
Trying to get contenttype class id from invalid contenttype %1$s (invalid_contenttype_class_specified)...