WooCommerceLogger.php causing issues
-
Hello!
I’ve got the following error message that came up out of nowhere, crippling our e-commerce site.
An error of type
E_COMPILE_ERRORwas caused in line58of the file/home1/sqwwsdmy/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/woocommerce-logging/src/Logger/WooCommerceLogger.php. Error message:Declaration of WooCommerce\WooCommerce\Logging\Logger\WooCommerceLogger::log($level, $message, array $context = []) must be compatible with Psr\Log\LoggerTrait::log($level, Stringable|string $message, array $context = []): voidI saw in a different thread here that the PHP version isn’t compatible, but I’ve gone through and dropped the php version of the site to 8.1 and no change.
The page I need help with: [log in to see the link]
The topic ‘WooCommerceLogger.php causing issues’ is closed to new replies.