Forums
Home / Plugin: WP Critical CSS / Cannot activate
(@tex0gen)
3 years ago
Triggers a fatal PHP error:
Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in public_html/wp-content/plugins/wp-criticalcss/lib/WP/CriticalCSS/Request.php:119
(@pcfreak30)
From what I can see, this is a PHP 8 issue. The plugin has not been tested with this version.
Sorry, but thanks for reporting.
The site is indeed running PHP8. It’s been released for over a year (18 months) so I’d have expected it to have been tested by now.