Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] PHP Fatal Error with 4.2.6, not present in 4.2.4

Simple Membership Plugin › Forums › Simple Membership Plugin › PHP Fatal Error with 4.2.6, not present in 4.2.4

Tagged: bug, fatal error

  • This topic has 8 replies, 2 voices, and was last updated 3 years, 1 month ago by benbois.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • February 25, 2023 at 10:08 am #25575
    benbois
    Participant

    Hi,
    I got a PHP Fatal Error with the new version 4.2.6 which block sending of the confirmation email and user creation on WP:

    PHP Fatal error: Cannot redeclare swpm_handle_subsc_signup_stand_alone() (previously declared in /var/www/www.domain.com/wp-content/plugins/simple-membership/ipn/swpm_handle_subsc_ipn.php:3) in /var/www/www.domain.com/wp-content/plugins/simple-membership/ipn/swpm_handle_subsc_ipn.php on line 3

    After roll back to 4.2.4, this error is gone!

    February 26, 2023 at 12:46 am #25585
    admin
    Keymaster

    This should be fixed in the new version that I have released. Please upgrade the plugin when you can.

    February 27, 2023 at 7:41 am #25603
    benbois
    Participant

    Thank you for your quick reply BUT the Fatal Error is still there with the last plugin version 4.2.9:

    [27-Feb-2023 07:36:33 UTC] PHP Fatal error: Cannot redeclare swpm_handle_subsc_signup_stand_alone() (previously declared in /var/www/www.domain.com/wp-content/plugins/simple-membership/ipn/swpm_handle_subsc_ipn.php:3) in /var/www/www.domain.com/wp-content/plugins/simple-membership/ipn/swpm_handle_subsc_ipn.php on line 3

    February 27, 2023 at 11:23 pm #25609
    admin
    Keymaster

    What version of PHP is being used on this site? I have given a reply to the following post which should be helpful for you to check as well:
    https://simple-membership-plugin.com/forums/topic/critical-error-after-payment-taken

    February 28, 2023 at 9:43 am #25621
    benbois
    Participant

    Hi,
    PHP Version 7.4.33 on this site without cache.

    February 28, 2023 at 10:24 am #25627
    admin
    Keymaster

    Thank you. That version of PHP should be fine. Please try downloading the following copy of the plugin and try that. Let me know if this one makes any difference:
    https://simple-membership-plugin.com/wp-content/uploads/simple-membership.zip

    You can delete the currently active copy of the plugin then upload and activate the above mentioned one. You won’t lose any data (members, payments, buttons, settings etc.) in the process so it is safe to do this.

    February 28, 2023 at 12:04 pm #25628
    benbois
    Participant

    I uninstalled, deleted the plugin and then installed the provided version: https://simple-membership-plugin.com/wp-content/uploads/simple-membership.zip

    Sadly, the issue is still there:
    [28-Feb-2023 12:01:15 UTC] PHP Fatal error: Cannot redeclare swpm_handle_subsc_signup_stand_alone() (previously declared in /var/www/www.domain.com/wp-content/plugins/simple-membership/ipn/swpm_handle_subsc_ipn.php:3) in /var/www/www.domain.com/wp-content/plugins/simple-membership/ipn/swpm_handle_subsc_ipn.php on line 3

    March 2, 2023 at 7:53 am #25651
    admin
    Keymaster

    Were you using the Accept Stripe payments plugin? If you were, please update the plugin. Let me know if that makes a difference.

    March 3, 2023 at 9:51 am #25678
    benbois
    Participant

    Hi,
    With updated Accept Stripe Payments plugin (v2.0.75), updated Simple WordPress Membership plugin (v4.2.9) and PHP 8.2.3, the issue is now fixed!

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy