• Resolved soonerknives

    (@soonerknives)


    After updating to the latest version of WooCommerce Payments, I get a WordPress error that the plugin update has caused a PHP error:
    Error Details
    =============
    An error of type E_ERROR was caused in line 38 of the file [MY_SITE]/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Helper/class-threedsecure.php. Error message: Uncaught ArgumentCountError: Too few arguments to function WooCommerce\PayPalCommerce\Button\Helper\ThreeDSecure::__construct(), 0 passed in [MY_SITE]/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/services.php on line 162 and exactly 1 expected in [MY_SITE]/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Helper/class-threedsecure.php:38
    Stack trace:
    #0 [MY_SITE]/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/services.php(162): WooCommerce\PayPalCommerce\Button\Helper\ThreeDSecure->__construct()
    #1 [MY_SITE]/public_html/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/DelegatingContainer.php(116): WooCommerce\PayPalCommerce\Button\ButtonModule::WooCommerce\PayPalCommerce\Button\{closure}(Object(Dhii\Container\DelegatingContainer))
    #2 [MY_SITE]/public_html/wp-c

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @soonerknives,

    Thank you for including that error in your message. Judging by it, it seems that the error isn’t being caused by the WooCommerce Payments plugin, but instead by the WooCommerce PayPal Payments plugin.

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select Get system report and then Copy for support.? Once you’ve done that, paste it here in your response. Thank you!

    This will help us better understand how your site is set up and see what could be causing the error.

    Plugin Support 3 Sons Development – a11n

    (@3sonsdevelopment)

    Hi @soonerknives,

    Since we haven’t heard from you in a while, we’re hoping that means you were able to get this resolved. I’m going to close this thread out now.

    If you’re still having trouble, please open up a new topic and we’ll be happy to help out.

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘After Update to WooCommerce Payments v3.0.0, WordPress notifies of a PHP error’ is closed to new replies.