Problem is in PMS_Subscription_Plan class. This object has field type which is not set on creation. Field is based on data from db, but on creating Plan, this field isn’t setted, so when Plan is choosed when subscribing, the field is empty (”). Function get_expiration_date (line 279) is checking if field is type regular or fixed-period. Because field has empty value (empty string == ”), function is returning empty string instead expiration date.
PS. Sorry for my English.
-
This reply was modified 7 years, 3 months ago by
Kuzdo.
Hello @cascadiasn, @kuzdo,
Thank you for the report, this will be fixed with the next release.
Regards.
Do you have an ETA? We had to stop new user registrations on our site because of this issue.
If anyone can post an interim fix in the php code that would be highly appreciated!
@oxwalor,
The update is being done right now.
We’re sorry about the inconveniences created.
Regards.
So the bug is solved in the new release 1.8.6 ?
@rajeshsingh520 yes, bug is solved in 1.8.6
Yes, issue is fixed in the latest update: 1.8.6
Regards.