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

Call to undefined function error when PMPro core is not active. #118

Closed
ipokkel opened this issue Apr 12, 2022 · 2 comments · Fixed by #124
Closed

Call to undefined function error when PMPro core is not active. #118

ipokkel opened this issue Apr 12, 2022 · 2 comments · Fixed by #124

Comments

@ipokkel
Copy link
Member

ipokkel commented Apr 12, 2022

When paid-memberships-pro plugin is not active pmpro-member-directory causes a fatal PHP error.

Steps to recreate

  1. Navigate to Plugins > All Plugins and deactivate Paid Memberships Pro plugin.
  2. See There has been a critical error on this website. Please check your site admin email inbox for instructions. notification
  3. See debug log PHP Fatal error: Uncaught Error: Call to undefined function pmpro_getOption() in /path/wp-content/plugins/pmpro-member-directory/pmpro-member-directory.php:538
@michaelbeil
Copy link

Reported in this ticket (ID 426901).

I also got the following fatal error when I disabled the plugins to check for conflicts and tried to reactivate them.
image

@JarrydLong
Copy link
Collaborator

This PR has been queued up and will be released soon to fix this #124

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.

3 participants