• Resolved mikep599

    (@mikep599)


    Hi

    My SWPM auto updated to 4.4.9 today. I have always had auto update on and never had an issue before. However, for this version, my whole website went down. I restored to 4.4.8 quickly and full service resumed.

    In my haste to restore service I was not able to collect much evidence of what might be causing the issue. Strangely, the plugin updated at 1pm and the site broke shortly after 3pm. I received an automated email from my site that the issue was with Simple Membership, and no other plugins updated recently.

    Has anyone else experienced issues, and are there any suggestions as to what may cause this, and what I should be looking out for? I have disabled auto-updates for now.

    Many thanks

    Mike

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for reaching out to us.

    My SWPM auto updated to 4.4.9 today. I have always had auto update on and never had an issue before. However, for this version, my whole website went down. I restored to 4.4.8 quickly and full service resumed.

    I updated one of my dev sites and I experience no issue with the update.

    In my haste to restore service I was not able to collect much evidence of what might be causing the issue. Strangely, the plugin updated at 1pm and the site broke shortly after 3pm. I received an automated email from my site that the issue was with Simple Membership, and no other plugins updated recently.

    Unfortunately without more information especially an error message it is very challenging to workout what went wrong in your site.

    Has anyone else experienced issues, and are there any suggestions as to what may cause this, and what I should be looking out for?

    As I mentioned above, I carried out a test in my dev site without any issues.

    I have disabled auto-updates for now.

    I recommend users not to enable auto update in WordPress. Far too many things can go wrong in my humble opinion.

    Can you provide some information regarding the plugins running in your site? What version of WordPress is installed? Is all your plugins and your theme up to date? What PHP version is running in your server?

    You might also like to carry out the following steps.

    https://simple-membership-plugin.com/enable-debug-logging/

    The following documentation can also help you.

    https://simple-membership-plugin.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/

    Let me know how you go.

    Kind regards.

    Thread Starter mikep599

    (@mikep599)

    Thank you very much for your response and apologies for the delay in replying.

    I updated other plugins and to WP 6.6 earlier and under controlled circumstances updated the plugin again. I enabled logging and tested.

    The error logged is:

    [2024/07/16 20:58:25] – FAILURE: Error! This member profile (Member ID: ) does not have a valid membership level assigned. The site admin needs to assign a valid membership level to this member profile.

    It does not give me an ID so I cannot update the membership level. All members are assigned one of two levels without any exception.

    Approximately half of the pages load as normal, and about half have a basic outline with no content in them. I expected those that do not work to be the pages that are protected by a membership level, but this is not the case. Some of the pages that do not work are not protected by any membership level.

    The error makes sense as v4.4.9 includes a new check for a valid membership level, but the fact that it appears to be checking an anonymous user for a valid membership level on some pages only appears odd. For now, I have reverted once again to 4.4.8 and all is working again.

    Any further assistance would be much appreciated. For info, the plugins installed are as below. All are enabled and of the latest version except for Simple Membership which is 4.4.8. I am running PHP 7.4.

    Accept Stripe Payments

    BBQ Firewall

    BestWebSoft's Like & Share

    Blackhole for Bad Bots

    BulletProof Security

    Classic Widgets

    Code Snippets

    Contact Form 7

    Contact Form CFDB7

    Converter for Media

    GDPR Cookie Consent

    Countdown Time - Block

    Disable WP Sitemaps

    Gutena Tabs

    IP Location Block

    Limit log in attempts reloaded

    Login or Logout Menu Item

    MailPoet

    Meks Simple Flickr Widget

    Really Simple SSL

    Redirection

    Redirection for Contact Form 7

    Simple Membership After Login Redirection

    Simple Membership Custom Messages

    Simple WordPress Membership

    Sitemap by click5

    Smart Slider 3

    SWPM Show Member Info

    UpdraftPlus - Backup/Restore

    User Submitted Posts

    UsersWP

    Very Simple Google Maps

    W3 Total Cache

    WPForms Lite

    Thanks again

    Plugin Author wp.insider

    (@wpinsider-1)

    Thank you for the extra details. Just the core Simple membership plugin shouldn’t do this. I have a feeling that there is an addon or a customization on this site that is unexpectedly calling that function without providing a valid “user” object.

    Thank you for providing the plugins/addons list. The following addon might be contributing to this:

    SWPM Show Member Info

    Can you please download a new copy of that addon from the following page. Delete the old one then upload and activate the new one:

    https://simple-membership-plugin.com/simple-membership-addon-show-member-info/

    If you try the plugin upgrade after that, does it help?

    Thread Starter mikep599

    (@mikep599)

    Hi wp.insider

    It most certainly does help. I have upgraded the SWPM Show Member Info, and the upgrade to 4.4.9 went fine with no strange effects on the site. Thank you very much.

    For info if it helps anyone else, on my site I have a left panel that is normally hidden. It is invoked by the top-left hamburger icon. On that panel it shows the member expiry date (hence the SWPM Show Member Info) and any stripe payments that have been made. If a visitor is not logged in, it used to give the standard “not logged in” message, which was fine. The old SWPM SMI would therefore fire on all pages whether public or protected.

    The reason it seemed to brake only half of my pages was due to the cache I have on the site. Clearing the cache broke all pages for anonymous users.

    But now I have compatible SWPM and SWPM SMI everything is fine whether logged in or not.

    I am very grateful for your help. Thanks again.

    • This reply was modified 8 months, 1 week ago by mikep599.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Issues with version 4.4.9’ is closed to new replies.