Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WooCommerce PayPal Payments Error #1918

Closed
alihusnainsansi3 opened this issue Dec 19, 2023 · 1 comment
Closed

WooCommerce PayPal Payments Error #1918

alihusnainsansi3 opened this issue Dec 19, 2023 · 1 comment
Labels
support Support case

Comments

@alihusnainsansi3
Copy link

alihusnainsansi3 commented Dec 19, 2023

Describe the Bug

Error Details

An error of type E_ERROR was caused in line 48 of the file /home/madkinbeauty/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-webhooks/src/Handler/PaymentCaptureRefunded.php. Error message: Uncaught ArgumentCountError: Too few arguments to function WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureRefunded::__construct(), 1 passed in /home/madkinbeauty/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-webhooks/services.php on line 94 and exactly 2 expected in /home/madkinbeauty/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-webhooks/src/Handler/PaymentCaptureRefunded.php:48
Stack trace:
#0 /home/madkinbeauty/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-webhooks/services.php(94): WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureRefunded->__construct(Object(WooCommerce\WooCommerce\Logging\Logger\NullLogger))
#1 /home/madkinbeauty/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(117): WooCommerce\PayPalCommerce\Webhooks\WebhookModule->WooCommerce\PayPalCommerce\Webhooks{closure}(Object(WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingCon

To Reproduce

  1. Go to '…'
  2. Click on '…'
  3. Scroll down to …'
  4. See error

Screenshots

Expected Behavior

Actual Behavior

I got this email
[
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, WooCommerce PayPal Payments.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires. ]

Environment

WordPress version 6.4.2
Active theme: Risen Legacy Theme for Divi (version 1.0)
Current plugin: WooCommerce PayPal Payments (version 2.2.2)
PHP version 7.4.33

Additional Details

System status
<!--If applicable, paste the system status here. Please ensure you redact or remove any identifying information. -->

Tasks

Preview Give feedback
No tasks being tracked yet.
@SydeKrystian SydeKrystian added the support Support case label Dec 27, 2023
@SydeKrystian
Copy link
Collaborator

Case already handled by support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Support case
Projects
None yet
Development

No branches or pull requests

2 participants