Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-static method c_ws_plugin__s2member_pro_stripe_utilities::subscr_remove_default_card() cannot be called statically #1237

Open
amandalala123 opened this issue Jul 10, 2023 · 1 comment

Comments

@amandalala123
Copy link

EXPLANATION OF THE ISSUE

Version 230530 of s2Member and s2Member Pro.

Critical Error when Customer updates card info:

Error
Non-static method c_ws_plugin__s2member_pro_stripe_utilities::subscr_remove_default_card() cannot be called statically

/wp-content/plugins/s2member-pro/src/includes/classes/gateways/stripe/stripe-update-in.inc.php in c_ws_plugin__s2member_pro_stripe_update_in::stripe_update at line 102

STEPS TO REPRODUCE THE ISSUE

From a customer account, try to update your card information.

Fix documented here, can this be added to the next plugin update?
https://forums.wpsharks.com/t/bug-on-stripe-update-card-impossible-to-update-credit-card/10752/5

@amandalala123
Copy link
Author

Additional info:

Server architecture Linux 5.15.0-73-generic x86_64
Web server LiteSpeed
PHP version 8.0.28 (Supports 64bit values)
PHP SAPI litespeed
PHP max input variables 1000
PHP time limit 30
PHP memory limit 128M
PHP memory limit (only for admin screens) 256M
Max input time 60
Upload max filesize 2M
PHP post max size 8M
cURL version 7.81.0 OpenSSL/3.0.2
Is SUHOSIN installed? No
Is the Imagick library available? Yes
Are pretty permalinks supported? Yes
.htaccess rules Your .htaccess file contains only core WordPress features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant