Version 1.8.11.2 of Paid Memberships Pro is out with a handful of bug fixes. One bug could result in unnecessary expiration warning emails being sent to your users. Another is particularly important for anyone using the Sponsored Members addon or otherwise relying on discount code tracking.


Please update Paid Memberships Pro from the plugins page of your WordPress dashboard. You can also get the latest version of PMPro here or version 1.8.11.2 specifically here.


About the Discount Code Updates

Updates we made in v1.8.11 broke PMPro’s tracking of discount code uses. Anyone who checked out with a discount code while you were running version 1.8.11 (released on September 24th, 2016) will not have made an entry in the wp_pmpro_discount_codes_uses table. Discount codes will still have been applied to the order correctly, but if you limited the “uses” on your codes then tracking won’t have been done and your discount codes might be used more than intended. Adjust the “used” values of your codes appropriately.

Also, some addons and custom code like the Sponsored Members addon use discount codes and the discount code uses table to track relationships between users. You’ll want to double check that your sites running these addons and gists are working as intended. We can help with any issues in the member forums.


The full list of updates is below.

  • BUG: Fixed a bug introduced in 1.8.11 that kept PMPro from tracking coupon code uses. Any checkout with a discount code while running 1.8.11 won’t have properly tracked the discount code use. You may want to adjust your “uses” numbers for your codes, and hand check any reporting/etc that relied on discount codes. Users of the Sponsored Members addon will have been affected too. Discount codes will need to be made manually for any sponsor who checked out.
  • BUG: Fix to the expiration warnings code. Making sure it finds all members who are expiring soon while also keeping track of when emails are sent so users don’t get too many emails.
  • BUG: Fixed issue where pmpro_before_change_membership_level was running after levels had been changed.
  • BUG: Fixed some warnings.
  • ENHANCEMENT: Updated Italian translations. (Thanks, Angelo)

Comments (8)

Author’s gravatar

Will you please push this to show as an update for the plugin on the plugin page? Right now, I have to deactivate and uninstall my current PMP and then upload this new one. That is not feasible with my active membership site. Thank you!

Reply
Author’s gravatar

You should be able to upgrade through the WP dashboard. Go to Dashboard -> Updates in your admin. Click on check again. Maybe some kind of cache on your site or the repo wasn’t showing you the latest update.

Reply
Author’s gravatar

Hi Jason,

Was the fix for the blank !!startdate!! and !!enddate!! etc. in the emails released as part of version 1.8.11.2?
I upgraded, but the output data for those portions of the emails are still empty.

Reply
Author’s gravatar

There wasn’t a bug exactly as much as some email templates don’t have those fields available to them. I didn’t adjust anything around this in the 1.8.11.2 update. Here is a code gist you can add to a custom plugin to make those variables always available: https://gist.github.com/strangerstudios/9e9f2b2eca301f906f38d55b42fdb7e6

Reply
Author’s gravatar

Hi Jason,

Thank you for your response and the link.

The fields were available on the cancellation email templates (sent out to admin) prior to the 1.8.11.1 update. Do you know why they suddenly stopped working after the update?

I’m not sure how to apply custom plugins to WordPress. Please, will it be possible for me to roll back to PMPro version 1.8.11, so that I can get everything working back the way it was before this problem started?

Author’s gravatar

Vivlin, yes the cancellation email did have support for those fields. When I last tested that, it was working on my dev site. So there must be another conflict at play. Have you opened a support thread with us? If so, we can figure out what is going on in your case and get it working for you.

Author’s gravatar

When you would add multi-membership option? I just bought PMPro, but i can’t use it without multimembership

Reply
Author’s gravatar

We have an addon in “alpha” for that on GitHub here:
https://github.com/strangerstudios/pmpro-multiple-memberships-per-user

Alpha means that there is a small chance that we will have to make a change that will make it hard for you to update that addon later, but we don’t expect to. It is live on a few sites, but we’re doing further testing.

The main thing to know about using that addon is that it won’t be compatible with a lot of our other addons. For example, anything that changes pricing on the checkout page (prorating code/etc) expects there to be only one level at checkout at a time. Similarly our addons that integrate with email marketing tools may incorrectly remove users from their “old” lists when adding a level since they expect that you’ve cancelled the old level.

Over time, we’ll fix our other addons to work with MMPU, but it will take a while.

Here is some other information about MMPU work arounds: https://www.paidmembershipspro.com/multiple-membership-levels-per-user-pmpro-workarounds/

Reply

Leave a Reply

Your email address will not be published. Required fields are marked *