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

Warnings when a level is deleted but had approval settings or status for user #187

Open
kimcoleman opened this issue Jul 23, 2024 · 1 comment

Comments

@kimcoleman
Copy link
Member

Describe the bug
If a membership level gets deleted, there is a warning shown on the Membership Account page. We should resolve this warning and also look to move these status notices into the relevant card for that level in the "My Memberships" section of the account page with PMPro v3.1+

Screenshot 2024-07-23 at 8 40 39 AM

I am also getting this issue on activation intermittently: Deprecated: Automatic conversion of false to array is deprecated in /Users/kimberlycoleman/Local Sites/pmprokimfork/app/public/wp-content/plugins/pmpro-approvals/pmpro-approvals.php on line 1752

To Reproduce
Steps to reproduce the behavior:

  1. Check out for a level that requires approval.
  2. As admin, delete that level
  3. Return to Membership Account page for the user that needed approval.

It may also be affecting the protected content messages - not 100% sure on that.

Expected behavior
Skip deleted levels.

@ipokkel
Copy link
Member

ipokkel commented Oct 30, 2024

Another occurrence of this issue was reported. #605347

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

2 participants