So a “template” component refers to the class object which is used as a template or mold to create instances from. Instances are therefore the constructed objects from those templates. What you actually see in game is going to be instances. What the error is telling you is that your weapon object is an instance, but the character mesh object you are attempting to attach it to is a template.
Somehow the m_pEquipmentClassOwner variable is not pointing to the instance of your character but its template. This is going to depend on where and how you are setting that variable.