• Resolved pipdig

    (@pipdig)


    Getting the following error when updating from version 3.3.12 to 3.3.13. Fixed by rolling back to 3.3.12. I suspect the issue might be caused by a very old WC version on this particular site, WC 3.2.6.

    Fatal error: Uncaught Error: Call to undefined method WC_Stripe_Advanced_Settings::update_option() in /plugins/woo-stripe-payment/includes/updates/update-3.3.13.php:6 Stack trace: #0 /plugins/woo-stripe-payment/includes/class-wc-stripe-update.php(43): include() #1 /wp-includes/class-wp-hook.php(286): WC_Stripe_Update::update('') #2 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /wp-settings.php(450): do_action('init') #5 /wp-config.php(53): require_once('/home/USER/...') #6 /wp-load.php(37): require_once('/home/USER/...') #7 /wp-admin/admin.php(31): require_once('/home/USER/...') #8 /wp-admin/plugins.php(10): require_once('/home/USER/...') #9 {main} t in /plugins/woo-stripe-payment/includes/updates/update-3.3.13.php on line 6

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @pipdig,

    Yep, you’re right. The update_option function wasn’t released until WC 3.4.0.

    We’ll add a patch to this release so that error won’t be encountered then respond back to this thread.

    Kind Regards,

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @pipdig,

    The patch has been added. Let us know if you’re able to update successfully.

    Kind Regards,

    Thread Starter pipdig

    (@pipdig)

    Updated successfully, thank you @mrclayton ??

    I get this fatal error:

    An error of type E_ERROR was caused in line 161 of the file /public_html/site/wp-content/plugins/woo-stripe-payment/vendor/stripe/stripe-php/lib/BaseStripeClient.php. Error message: Uncaught Error: Call to undefined method Stripe\Collection::setFilters() in /public_html/site/wp-content/plugins/woo-stripe-payment/vendor/stripe/stripe-php/lib/BaseStripeClient.php:161 Stack trace: #0 /public_html/site/wp-content/plugins/woo-stripe-payment/vendor/stripe/stripe-php/lib/Service/AbstractService.php(64): Stripe\BaseStripeClient->requestCollection('get', '/v1/webhook_end...', Array, Array) #1 /public_html/site/wp-content/plugins/woo-stripe-payment/vendor/stripe/stripe-php/lib/Service/WebhookEndpointService.php(21): Stripe\Service\AbstractService->requestCollection('get', '/v1/webhook_end...', Array, Array) #2 /public_html/site/wp-content/plugins/woo-stripe-payment/includes/class-wc-stripe-api-operation.php(94): Stripe\Service\WebhookEndpointService->all(Array, Array) #3 /public_html/site/wp-content/plugins/woo-stripe-payment/includes/updates/update-3.3.13.php(36): WC_Stripe_API_Operation->__call('all', Array) #4 /public

    Can this be patched too?

    Plugin Author Payment Plugins

    (@mrclayton)

    @thefingerprint it looks like you’re using a plugin that’s loading an older version of the Stripe PHP library.

    It’s loading first so it causes a conflict.

    Kind regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error updating to version 3.3.13’ is closed to new replies.