Skip to content

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

@amandalala123

Description

@amandalala123

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions