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

PMPro_Field::displayAtCheckout is deprecated in v3.4 + #24

Open
3 tasks done
kimcoleman opened this issue Feb 25, 2025 · 0 comments · May be fixed by #26
Open
3 tasks done

PMPro_Field::displayAtCheckout is deprecated in v3.4 + #24

kimcoleman opened this issue Feb 25, 2025 · 0 comments · May be fixed by #26
Labels
Difficulty: Medium Good First Bug Issues specifically for first time contributors. Next actions should be clear. The team will help.

Comments

@kimcoleman
Copy link
Member

Describe the bug
PMPro_Field::displayAtCheckout is deprecated since version 3.4. The replacement for this method is to use PMPro_Field_Group::display() instead.

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to the frontend testimonial display form.
  2. If WP_DEBUG is enabled and displayed you will see the deprecation warning.
  3. See error

Expected behavior
No warnings should be shown. We should support the current method as a fallback if the site is not running a PMPro version with the new PMPro_Field_Group::display method.

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.
@kimcoleman kimcoleman added Difficulty: Medium Good First Bug Issues specifically for first time contributors. Next actions should be clear. The team will help. labels Feb 25, 2025
@derekashauer derekashauer linked a pull request Feb 25, 2025 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty: Medium Good First Bug Issues specifically for first time contributors. Next actions should be clear. The team will help.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant