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

Cannot activate User Pages if Unlock Add On is already activated #21

Closed
3 tasks done
michaelbeil opened this issue Apr 14, 2023 · 1 comment
Closed
3 tasks done

Comments

@michaelbeil
Copy link
Contributor

michaelbeil commented Apr 14, 2023

Describe the bug
If Unlock Add On is already activated, you cannot activate User Pages.

To Reproduce
Steps to reproduce the behavior:

  1. Unlock Add On is already activated
  2. Cannot activate User Pages

Screenshots
image

Customer sees this error upon activation:
Fatal error: Cannot redeclare pmproup_plugin_row_meta() (previously declared in /srv/htdocs/wp-content/plugins/pmpro-unlock/includes/admin.php:63) in /srv/htdocs/wp-content/plugins/pmpro-user-pages/pmpro-user-pages.php on line 316

I see this in the error log.

Expected behavior
You should be able to activate both.
Isolating the problem:

  • Deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro is active.
  • This bug happens with a default WordPress theme active, or Memberlite.
  • Reproduce this bug consistently using the steps above.

This came up in ticket 485313, and I could replicate.

WordPress Environment

Paid Memberships Pro 2.10.3, User Pages Add On .6, WordPress 6.2, PHP 7.4.30
michaelbeil added a commit to michaelbeil/pmpro-user-pages that referenced this issue Apr 14, 2023
@dparker1005
Copy link
Member

Closing as we plan to handle this issue in the PMPro Unlock Protocol Add On in the future: strangerstudios/pmpro-unlock#12

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

Successfully merging a pull request may close this issue.

2 participants