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.
-
AuthorPosts
-
February 25, 2023 at 10:08 am #25575
benbois
ParticipantHi,
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 #25585admin
KeymasterThis 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 #25603benbois
ParticipantThank 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 #25609admin
KeymasterWhat 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-takenFebruary 28, 2023 at 9:43 am #25621benbois
ParticipantHi,
PHP Version 7.4.33 on this site without cache.February 28, 2023 at 10:24 am #25627admin
KeymasterThank 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.zipYou 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 #25628benbois
ParticipantI 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 3March 2, 2023 at 7:53 am #25651admin
KeymasterWere 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 #25678benbois
ParticipantHi,
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! -
AuthorPosts
- You must be logged in to reply to this topic.