Fatal error on PHP 8 from abs() call
Image Widget fatal-errors on PHP 8 because it passes non-numeric values to abs(), crashing pages and the widget admin.
Tier II · Emerging Problems that are still building up.
4 public reports · first reported 15 September 2022 · last reported 10 January 2025
What's going wrong
Site owners running Image Widget on PHP 8.0 and newer report a fatal TypeError from the abs() function, which crashes pages or blocks the Customizer and widget screen.
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 4 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.