<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Fatal error crashes site completely

Replies: 1

activating this plugin crashes the site (fortunately only on our staging site). In debug.log the following error is logged:

[16-Nov-2022 10:07:02 UTC] PHP Fatal error: Declaration of Dhii\Container\ProxyContainer::has($key) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /[…]/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/ProxyContainer.php on line 50

The error appears with versions 1.9.4 and 1.9.5.
(WP 6.1.0 and 6.1.1, PHP 7.4.33)


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer