You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
PHP warnings are generated when an invoice email is sent to a user who does not have an active membership.
PHP Warning: Attempt to read property “id” on bool in /wp-content/plugins/paid-memberships-pro/classes/class.pmproemail.php on line 1225
PHP Warning: Attempt to read property “name” on bool in /wp-content/plugins/paid-memberships-pro/classes/class.pmproemail.php on line 1226
To Reproduce
Steps to reproduce the behavior:
Go to Memberships > Orders.
Click on an Email link on an order.
Enter an email belonging to a user with no membership.
Check debugging log, see warnings.
Expected behavior
No PHP warnings.
Isolating the problem (mark completed items with an [x]):
I have deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro plugin is active.
This bug happens with a default WordPress theme active, or Memberlite.
I can reproduce this bug consistently using the steps above.
Describe the bug
PHP warnings are generated when an invoice email is sent to a user who does not have an active membership.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No PHP warnings.
Isolating the problem (mark completed items with an [x]):
WordPress Environment
WP 6.6.2
PHP 8.1.30
PMPro 3.3
The text was updated successfully, but these errors were encountered: