• Resolved zesgar

    (@zesgar)


    We just updated to 8.8.1 and now subscriptions are not renewing and new subscriptions are unable to be created. Here is the trace. Thoughts on this?

    Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\Utilities\OrderUtil::remove_status_prefix() must be of the type string, null given, called in /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php on line 629 and defined in /wp-content/plugins/woocommerce/src/Utilities/OrderUtil.php:239

    Stack trace:
    #0 /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(629): Automattic\WooCommerce\Utilities\OrderUtil::remove_status_prefix() #1 /wp-content/plugins/woocommerce/includes/class-wc-order.php(286): WC_Abstract_Order->set_status() #2 /wp-content/plugins/woocommerce/includes/class-wc-order.php(150): WC_Order->set_status() #3 /wp-content/plugins/woocommerce-gateway-stripe/includes/abstracts/abstract-wc-stripe-p

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter zesgar

    (@zesgar)

    I’ve tested with a simple product and with a subscription product and both cause a fatal error.

    I’ve also disabled Woocommerce Subscriptions and just have Woocommerce and Woocommerce Stripe Plugin and I get this error.

    A customer’s card is charged in Stripe, but Woocomerce is not updated, shows as pending payment.

    Gal Baras

    (@galbaras)

    It would help to see the complete stack trace to ensure there’s no involvement from the theme. Can you test with a standard theme (or Storefront)?

    Can you try reinstalling the plugin, just to rule ou an update issue?

    Maybe also try flushing the theme cache, removing transients and updating reference tables (WooCommerce > Status > Tools).

    Finally, confirm your versions of PHP, WordPress and WooCommerce.

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi there @zesgar,

    Thank you for reaching out.

    I’m sorry to hear you’re having trouble with your subscriptions after updating WooCommerce Stripe Payment Gateway to 8.8.1.

    The error message you’re seeing suggests that a null value is being passed where a string is expected. This could be due to a conflict with another plugin or a theme.

    In order to troubleshoot this issue further, just like @galbaras has recommended, I recommend the following steps:

    1. Try disabling other plugins one by one to see if the problem resolves. This can help identify if there’s a conflict with another plugin.
    2. Switch to a default WordPress theme like Twenty Twenty-Four or Storefront to see if the issue might be related to your theme.
    3. If the issue persists, please try to roll back to a previous version of the plugin to see if the issue still persists.

    Please let me know how it goes, I’m here to help.

    Plugin Support Feten L. a11n

    (@fetenlakhal)

    Hello! Since it’s been a while without a response, I’ll consider this resolved. Feel free to get in touch anytime to continue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.