Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field value not saved when adding member using Add Member from Admin Add On #12

Open
3 tasks done
ipokkel opened this issue Dec 14, 2022 · 0 comments
Open
3 tasks done

Comments

@ipokkel
Copy link
Member

ipokkel commented Dec 14, 2022

Describe the bug
When adding a member from Add Member from Admin the field value entered is not saved

To Reproduce
Steps to reproduce the behavior:

  1. Go to Pods and extend PMPro Member with a field
  2. Go to Add Member from Admin complete form, including the custom field created with Pods, and add member
  3. Navigate to Users > All Users and open added user's profile.
  4. See error.

Expected behavior
Member field data to be saved to wp_usermeta table.

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.

Debug Log

``` PHP Notice: Trying to access array offset on value of type bool in C:\Users\Admin\Local Sites\pmpro\app\public\wp-content\plugins\pmpro-pods\src\Pods\Integration.php on line 187

PHP Notice: Trying to get property 'ID' of non-object in C:\Users\Admin\Local Sites\pmpro\app\public\wp-content\plugins\pmpro-pods\src\PMPro\Objects\Member_Profile.php on line 159

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant