Simple Membership Plugin › Forums › Simple Membership Plugin › PHP 8.1 upgrade results in Simple Membership locking entire site.
Tagged: PHP 8.1
- This topic has 3 replies, 2 voices, and was last updated 2 years ago by
LJ.
-
AuthorPosts
-
June 5, 2024 at 7:47 pm #28197
LJ
ParticipantI saw another post with a similar question, but it has two conflicting answers. I’m testing my site’s upgrade to PHP 8.1 on a staging site, and upon upgrade the Simple Membership plugin is now locking the entire site. I’ve deactivated all plugins and tested, then changed the theme and tested — same result. Still locks entire site.
I’ve gone into the plugin settings, as I have set it to lock certain URLs — the settings are correct, and shouldn’t be locking all pages. Is anyone else experiencing this? Is Simple Membership incompatible with PHP 8.1, or is this solvable?
June 5, 2024 at 8:14 pm #28198LJ
ParticipantFollow-up note: I hadn’t deactivated any of the Simple Membership add-ons as part of the incompatibility testing, but just tried disabling the SWMP Full Page Protection add-on. That removed the full-site lockdown. That is the add-on that I had checked the settings of to be sure the URLs I’d set to be locked are still accurate, which they are. With the add-on deactivated I also tested logging in to a SM account, which worked, so other features are likely still functioning.
With this new result, my question may more specifically be: is the SWPM Full-Page Protection add-on not PHP 8.1 compatible?
June 6, 2024 at 1:10 am #28202admin
KeymasterI tested the Full Page Protection addon on PHP 8.1 and it worked for me. Can you make sure to download a fresh new copy fro the following page and use that:
https://simple-membership-plugin.com/full-page-protection-addon-simple-membership/The addons can get outdated so the only way to figure this out will be to do the following test with the addons. You can deactivate and reactivate any of the Simple Membership addons without losing any data. So it is safe to do this test:
June 6, 2024 at 2:30 am #28206LJ
ParticipantAh, the add-on update did the trick! Thank you very much.
-
AuthorPosts
- You must be logged in to reply to this topic.