Sounds like you once had an extension installed to make what - tea cup patterns?
This seems missing, though ID wants to load it.
You can disable extensions/plug-ins via the Extension Manager. Or, in case you still need the pattern maker, install it again.
I don't think you need the plugin to edit the file, only to make a new pattern. You can strip the plugin reference from the file so you don't see the warning by exporting to .idml, then opening that and saving as a new .indd file.