Thanks, Nabil. Sorry you're still having issues, but good to know that this is not happening because you're using older versions of the packages.
The error is occurring because ENMeval is removing occurrences that fall within the same grid cell as another occurrence, and this removal causes one or more partition groups to have a membership of 0. This can happen because Wallace uses the user partitions option to assign partitions regardless of the user's partition choice (this is due to the structure of the analysis specified in Wallace, which necessitates the entry of a table including partition assignments to ENMeval), and when ENMeval removes duplicate occurrences from this table that includes partition assignments, some partition groups can be lost in the process. This should only happen in low-data situations, as big datasets should have many occurrences in each partition group and thus not run the risk of losing any of them completely.
I would recommend removing these grid cell duplicates before running Wallace, as this should fix the problem for your dataset. I think it is likely a good idea to make an edit to Wallace that does this before partitions are assigned and thus avoid the problem completely.
Please let me know if this works for you.
Jamie