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
A bunch of PHP Warnings are generated when editing a page containing the Membership Checkout Form block.
I haven't observed any impact on functionality.
To Reproduce
Steps to reproduce the behavior:
Add the Membership Checkout Form block to a page, save page.
Edit the page in WP with debugging enabled.
Check logs
See warnings
PHP Warning: Attempt to read property "name" on null in /var/www/webroot/ROOT/wp-content/plugins/paid-memberships-pro/pages/checkout.php on line 76
PHP Warning: Attempt to read property "id" on null in /var/www/webroot/ROOT/wp-content/plugins/paid-memberships-pro/pages/checkout.php on line 80
PHP Warning: Attempt to read property "description" on null in /var/www/webroot/ROOT/wp-content/plugins/paid-memberships-pro/pages/checkout.php on line 114
PHP Warning: Attempt to read property "initial_payment" on null in /var/www/webroot/ROOT/wp-content/plugins/paid-memberships-pro/includes/functions.php on line 341
PHP Warning: Attempt to read property "billing_amount" on null in /var/www/webroot/ROOT/wp-content/plugins/paid-memberships-pro/includes/functions.php on line 351
PHP Warning: Attempt to read property "trial_limit" on null in /var/www/webroot/ROOT/wp-content/plugins/paid-memberships-pro/includes/functions.php on line 391
PHP Warning: Attempt to read property "expiration_number" on null in /var/www/webroot/ROOT/wp-content/plugins/paid-memberships-pro/includes/functions.php on line 531
PHP Warning: Attempt to read property "id" on null in /var/www/webroot/ROOT/wp-content/plugins/paid-memberships-pro/pages/checkout.php on line 317
Expected behavior
No 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.
WordPress Environment
```
WP 6.7.1
PMPro 3.3.3
PHP 8.2.26
```
The text was updated successfully, but these errors were encountered:
Describe the bug
A bunch of PHP Warnings are generated when editing a page containing the Membership Checkout Form block.
I haven't observed any impact on functionality.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No warnings
Isolating the problem (mark completed items with an [x]):
WordPress Environment
The text was updated successfully, but these errors were encountered: