Version of Paid Memberships Pro is out with a single bug fix that affected the “membership” shortcode and custom code using the pmpro_hasMembershipLevel() function.

Please update Paid Memberships Pro from the plugins page of your WordPress dashboard. You can also get the latest version of PMPro here or version specifically here.

All change log notes:

  • BUG: Fixed bugs in pmpro_hasMembershipLevel that caused shortcodes like and to stop working.

Comments (10)

I am having issue with [pmpro_account]. I have tried pasting this shortcode into one of my page and if I try to visit that page, the page does not load.
FYI: All the other shortcodes including membership levels, billing information works fine except for this.
Does anybody have the same problem?

Hi !
Since 25 July I have been receiving HTTP 500 errors on the front end and ‘Error establishing database connection’ on the back end. After hours on the phone it appears as tho PMPro is causing continuous database connections and over loading the server. I am running the risk being kicked off the server as I have had to call GoDaddy support to reset the connects 7 times. Any help would be appreciated as I have very annoyed customers, and had to shut the site down, cutting off all usage.

Hi, Maura. Sorry about these issues. I cannot tell exactly what the issue is, but if you use the contact form to send us more information about your site (including URL, WP admin user/pass, FTP host/user/pass) I can take a look and see what might be going on. Note that if you are using the base GoDaddy shared hosting, it might not be powerful enough to run PMPro. Some info on hosting here

Also RE the update. It’s possible, but I can’t think of a change in the recent updates that would increase load on the DB. (We might be able to find something while investigating your site). However, it’s often the case that when users update PMPro, they also update WP and other plugins/themes, and the combination of all of those updates can cause issues.

Hi Jason,
Thank you for the reply. I actually deleted and reprogrammed a difference membership plugin which caused the same issue. I just paid alot for a 4 GB VPS, are you able to provide a more detailed picture of what capacity is needed I will send some diagnostics and information. I still use PMPro for a different site though and would consider switching back.

A 4GB (assuming RAM here) VPS should work well. I’ve run PMPro on 1GB RAM servers. Shared hosting or anything with < 1GB of RAM gets iffy. It really depends on how large the site is in terms of visitors and members, psots, and what else is going on. For reference, PMPro has about 30k monthly visitors and we run it on a dedicated server with 16GB of RAM, 8 cores. One quick thing to look out for is to make sure that MySQL and PHP are taking advantage of that extra RAM. Increase the max_connections in my.cnf to 200-400 (or whatever works for your setup) and increase the memory used by PHP to 96MB or so. You can increase it for admins specifically (since exports and other member activity can be memory intensive) like this

Hope this all helps.

Leave a Reply

Your email address will not be published. Required fields are marked *