Posted: October 28, 2022 at 1:22 am
Hi, I have just installed Event Espresso 4.10.40 and in my WordPress dashboard, I am seeing all the Memberpress subscription plans as dismissable notifications. They are appearing on all settings pages on the dashboard. When I dismiss the messages (some won’t dismiss at all), on page refresh they all come back again (the ones I have dismissed). Disabling the Event Espresso plugin makes the notifications go away. Any help is much appreciated. |
|
Hi there, Can you send me a copy of Memberpress so I can install it locally to view this? I’ll check if this is something EE is doing incorrectly or Memberpress, I can’t promise a fix but will happily look into it. |
|
This reply has been marked as private. | |
Hi Tony Just to add to the above, see screenshot. I inspected the nag messages and the classes are showing as referenced to Event Espresso: https://www.awesomescreenshot.com/image/33986129?key=fec177c89d0028e1eece31222583d1d2 Thanks again |
|
Hmmm, very strange. So nothing in the code stands out for me in that Memberpress isn’t somehow triggering an EE function to display notices, however, based on the fact that the notices show the espresso-notices classes I suspect somehow memberpress has injected a bunch of details into the option used by Event Espresso to store persistent notices. So I don’t think its a case of EE and Memberpress conflicting when running, but rather ‘something’ has happened and additional data stored in the wp option. Which means EE is then looping over all of those details expecting them to be EE notices and outputting them to the page. Are you comfortable with PHP? I can give you a snippet to output the option so we can see if that is what is happening if so. |
|
Thanks Tony Yes, please send me the PHP snippet |
|
First, create a database backup just to be safe. This:
Will output the option EE uses for persistent notices. If you can grab that content and post it here I can check it out. Or, the other option if you have phpMyAdmin access if to check the https://monosnap.com/file/SLEgotUeJ3J0KR3iku1twz0x5fcMT1 Grab the option value from that and save it to a file. You can then either manually set it to be
and see if that removes the notices. EE saves the admin notices to track them and an empty option wont break anything but make sure you backup the value first. |
|
Hi Tony That did it. I removed the option values out of the database ‘ee_pers_admin_notices’ term and it has removed the nag messages. Thanks very much for your help with this one ๐ |
|
You’re most welcome ๐ |
|
The support post ‘Memberpress WordPress Dashboard Nag Messages’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.