strangerstudios / paid-memberships-pro

WordPress membership plugin to restrict access to content and charge recurring subscriptions using Stripe, PayPal, and more. Fully open source. 100% GPL.
https://www.paidmembershipspro.com
Other
460 stars 357 forks source link

!!startdate!! and !!enddate!! variables show blank in the Cancelled (admin) email template #1788

Open michaelbeil opened 2 years ago

michaelbeil commented 2 years ago

Describe the bug When you cancel a membership, the !!startdate!! and !!enddate!! variables show blank in the Cancelled (admin) email template. A member saw this as reported in ticket 372011 (moderators only).

To Reproduce Steps to reproduce the behavior: 1) Add !!startdate!! and !!enddate!! variables to the Cancelled (admin) email template. 2) Find a test user, and cancel their membership in the WordPress dashboard. 3) When they canceled the admin email template is sent, it will show blank dates, instead of showing the dates.

Expected behavior I expected the dates to be in the email sent out.

Screenshot image

Isolating the problem:

WordPress Environment

Paid Memberships Pro 2.6.2, Twenty Twenty-One 1.4, WP 5.8.1, and PHP 7.4.1
andrewlimaza commented 2 years ago

Could you try reset your template email to default? I wasn't able to replicate this when I tested it.

michaelbeil commented 2 years ago

I reset the Cancelled (admin) email template to default and the variables still show blank dates: image