pmpro-add-member-admin icon indicating copy to clipboard operation
pmpro-add-member-admin copied to clipboard

BUG: Add Member Addon – PHP Notices After Updating To PMPro v2.5.1

Open tictag opened this issue 4 years ago • 1 comments

I have been doing some rudimentary testing after updating to PMPro v2.5.1 from v2.4.4. This test was just to create a member using the Add Member From Admin Addon, a use case that has worked without issue before.

This time, however, the following entries were recorded in the WP_DEBUG log:

[17-Nov-2020 18:04:55 UTC] PHP Notice: Undefined index: membership_id in /home/customer/www/dev.ksa-uk.net/public_html/wp/wp-content/plugins/pmpro-approvals/pmpro-approvals.php on line 1211 [17-Nov-2020 18:04:55 UTC] PHP Notice: Undefined index: invoice_id in /home/customer/www/dev.ksa-uk.net/public_html/wp/wp-content/plugins/pmpro-gift-aid/pmpro-gift-aid.php on line 121 [17-Nov-2020 18:04:55 UTC] PHP Notice: Undefined index: membership_id in /home/customer/www/dev.ksa-uk.net/public_html/wp/wp-content/plugins/pmpro-sponsored-members/pmpro-sponsored-members.php on line 1991

Please review this screencast for a step-by-step guide to re-creating this issue: https://1drv.ms/u/s!AiwD9-8HyNC59wJasg98xC_5Te3z?e=04nJrk

Please help me to add a new member without error.

Plugin Information: PHP v7.3.20 WordPress v5.5.1 PMPro v2.5.1 Approvals Addon v1.3.4 Gift Aid Addon 0.1.2 Sponsored Members Addon v0.9

tictag avatar Nov 18 '20 09:11 tictag

Thanks for sharing this, these issues are related to different Add Ons - we will review this on each respective Add On and take it from there.

andrewlimaza avatar Apr 14 '22 08:04 andrewlimaza