Error thrown

Non-static method NPCMS_MEMBERSHIP::npcms_membership_register_settings() cannot be called statically