Charge class fails on PHP 8.1 with optional-parameter notice
The payment plugin triggers a PHP deprecation warning on every charge, and on PHP 8.1 it causes a fatal error.
Tier II · Emerging Problems that are still building up.
3 public reports · first reported 3 November 2022 · last reported 26 October 2024
What's going wrong
Site owners who upgraded to newer PHP versions report that this WooCommerce payment plugin raises a deprecation notice each time a charge is created.
AI-assisted: written with the help of AI from the reports. The idea report has the full summary.
In the idea report
- The full summary.
- The products the 3 reports are about, and how many came each month.
- Related problems.
No business has been found with this problem yet, so the report has no contacts. All sales are final — no refunds. Pricing.