Please make sure that you are using the latest dev-build of ProtocolLib. Additionally, errors related to ProtocolLib can be avoided by either using the Prevention hider or disabling invisibility modules in the advanced section of the invisibility method section in the config.
Fixed /pv recreate error
Fixed counting towards the amount of non-sleeping players when joining in vanish