• Resolved eempptw

    (@eempptw)


    Hi,

    In the last 2 weeks I’ve been experiencing random but frequent slow downs with my site for no reason (both frontend and backend). Contacted my hosting company and they could not see anything wrong. Yesterday I received an email from WordPress saying that there’s a “technical issue” with my site specifically caused by the plugin: Woocommerce Paypal Payments.
    however today I logged in and could not see anything wrong. everything looks normal and no error msgs from anywhere in the dashboard or plugin page, either. So chances are if you’re seeing this thread and visiting my site you won’t see anything wrong with it.

    Below are some relevant info from the email I received for troubleshooting. Just curious if anyone else using the same plugin had received an email like this and if there’s any solution to this. I’m still debating if I should uninstall this and switch to another Paypal plugin instead. Would appreciate any help. thank you.

    WordPress version 6.3.2
    Active theme: Astra (version 4.4.0)
    Current plugin: WooCommerce PayPal Payments (version 2.4.0)
    PHP version 8.0.30 Error Details
    =============
    An error of type E_ERROR was caused in line 87 of the file /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/PartnersEndpoint.php. Error message: Uncaught ArgumentCountError: Too few arguments to function WooCommerce\PayPalCommerce\ApiClient\Endpoint\PartnersEndpoint::__construct(), 6 passed in /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/services.php on line 123 and exactly 7 expected in /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/PartnersEndpoint.php:87
    Stack trace:
    #0 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/services.php(123): WooCommerce\PayPalCommerce\ApiClient\Endpoint\PartnersEndpoint->__construct('https://api.pay...', Object(WooCommerce\PayPalCommerce\ApiClient\Authentication\PayPalBearer), Object(WooCommerce\WooCommerce\Logging\Logger\NullLogger), Object(WooCommerce\PayPalCommerce\ApiClient\Factory\SellerStatusFactory), 'K8SKZ36LQBWXJ', 'JK7DGBZJMSDB4')
    #1 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(117): WooCommerce\PayPalCommerce\ApiClient\ApiModule::WooCommerce\PayPalCommerce\ApiClient\{closure}(Object(WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer))
    #2 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(56): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory(Object(Closure))
    #3 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/services.php(1014): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get('api.endpoint.pa...')
    #4 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(117): WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure}(Object(WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer))
    #5 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(56): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory(Object(Closure))
    #6 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/services.php(275): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get('wcgateway.helpe...')
    #7 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(117): WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure}(Object(WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer))
    #8 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(56): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory(Object(Closure))
    #9 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/services.php(72): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get('wcgateway.setti...')
    #10 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(117): WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure}(Object(WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer))
    #11 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(56): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory(Object(Closure))
    #12 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-blocks/services.php(34): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get('wcgateway.paypa...')
    #13 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(117): WooCommerce\PayPalCommerce\Blocks\BlocksModule::WooCommerce\PayPalCommerce\Blocks\{closure}(Object(WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer))
    #14 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(56): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory(Object(Closure))
    #15 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeContainer.php(53): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get('blocks.method')
    #16 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(61): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeContainer->get('blocks.method')
    #17 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(161): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}()
    #18 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(128): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->invokeGenerator(Object(Closure))
    #19 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(62): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->getCached('blocks.method', Object(Closure))
    #20 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-blocks/src/BlocksModule.php(63): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->get('blocks.method')
    #21 /home1/mppsolar/public_html/maximumsolaronline/wp-includes/class-wp-hook.php(310): WooCommerce\PayPalCommerce\Blocks\BlocksModule->WooCommerce\PayPalCommerce\Blocks\{closure}(Object(Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry))
    #22 /home1/mppsolar/public_html/maximumsolaronline/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)
    #23 /home1/mppsolar/public_html/maximumsolaronline/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #24 /home1/mppsolar/public_html/maximumsolaronline/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Integrations/IntegrationRegistry.php(50): do_action('woocommerce_blo...', Object(Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry))
    #25 /home1/mppsolar/public_html/maximumsolaronline/wp-includes/class-wp-hook.php(310): Automattic\WooCommerce\Blocks\Integrations\IntegrationRegistry->initialize('')
    #26 /home1/mppsolar/public_html/maximumsolaronline/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
    #27 /home1/mppsolar/public_html/maximumsolaronline/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #28 /home1/mppsolar/public_html/maximumsolaronline/wp-settings.php(632): do_action('init')
    #29 /home1/mppsolar/public_html/maximumsolaronline/wp-config.php(101): require_once('/home1/mppsolar...')
    #30 /home1/mppsolar/public_html/maximumsolaronline/wp-load.php(50): require_once('/home1/mppsolar...')
    #31 /home1/mppsolar/public_html/maximumsolaronline/wp-admin/admin.php(34): require_once('/home1/mppsolar...')
    #32 /home1/mppsolar/public_html/maximumsolaronline/wp-admin/plugins.php(10): require_once('/home1/mppsolar...')
    #33 {main}
      thrown

    • This topic was modified 1 year ago by eempptw.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Femi

    (@femiyb)

    Hello

    This error seems to be a potential cache problem during the plugin update.

    I suggest checking the “Connection” page to confirm that the your PayPal account is connected correctly and the merchant ID and other fields are populated.

    You can also try disconnecting and then reconnect using the automatic onboarding process.

    Looking forward to your feedback.

    Regards,

    Femi.

    Thread Starter eempptw

    (@eempptw)

    Thanks Femi

    Nothing appears wrong on the Plugin page or Connection page. Status shows “connected” and all the fields below that (merchant ID, client ID, secret key etc) are all the same and untouched.

    Just to be sure, are you suggesting that I use the “disconnect account” and then set everything up again? If possible, I really would prefer not having to do that as I remember it took a while for me to set this up the first time, having to locate those IDs from Paypal. I don’t exactly remember how to do this anymore and I’m afraid of messing things up.

    Since the email from WordPress I am still getting payments successfully for new orders, so looks like connection is OK?

    Another thing is I’m using Query Monitor on my site and when I’m on the Paypal setting page, it turned RED with 4 hits of HTTP API calls error, screenshot here – https://ibb.co/rFgxbRn

    Is there any way we can resolve this and is this possibly also the reason why I’ve been experiencing slowness on my site, both front end and back?

    Many thanks again for your help.

    Plugin Support Femi

    (@femiyb)

    Hello

    To better judge this, we are interested in a copy of your WooCommerce system report file.
    The system report can be accessed from here:
    WooCommerce > Status > Get system report > Copy for support
    You can share it privately with us from here:
    https://paypal.inpsyde.com/docs/request-support/

    Regards,
    Femi.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    We haven’t heard back from you in a while, so I’ll mark this thread as resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Your Site is Experiencing a Technical Issue’ is closed to new replies.