I have created a membership with a start date of 01/01/2021.
I have just had a member apply for next year successfully, but when i look at the members the start date is 01/01/2020 and end date 01/01/2021.
Yes, the code took into account people that start during a membership period and then take that start date minus one period so people would already be a member for the current “period”. That’s why I also added the option “one free period”, so people would then e.g. register in November, get the membership of the current year *and* of the next year (very simplistic, I know).
But in all calculations, I didn’t account for the simple fact that the start date of the membership could actually be in the future. This should fix that: https://plugins.trac.wordpress.org/changeset/2447088/
I am trying to test this but have experienced another issue whilst trying. I have created a new member from the front end, this comes into the system as pending but obviously with no start or end date as it has not been approved. (I also noticed it gets put into the group i have created for this years membership even though it is still pending is this correct?). Then when I goto members and select the pending member and try to mark it with accept membership payment the ‘please wait’ highlights but never changes or accepts membership. I also received and email from my site at this point stating eme has caused a fatal error and the page creating the error was the member iD i have tried to change to paid.