Hello @merrillk
Thank you for reaching out and I am happy to help!
I’m not sure what your setup is, like the configuration of the W3 Total Cache, wp version, PHP, server etc, however, I’ve tried to test this and I was not able to replicate the problem.
Can you please update the plugin to the latest version and disable the settings one by one in Performance>general settings, save the settings and purge the cache after each setting is disabled and see which one might be causing the issue?
Thanks!
Updating the W3TC plugin to 2.7.6 causes the issue. We are running
PHP 8.0.30
WordPress 6.4.5
Solid backups 9.1.13
The issue is related to using AWS S3 for our CDN settings.
PHP Fatal error: Uncaught Error: Undefined constant GuzzleHttp\Client::VERSION in wp-content/plugins/backupbuddy/vendor/guzzlehttp/guzzle/src/functions.php:136
Stack trace:\n 0 wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php(40): GuzzleHttp\default_user_agent() 1 wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php(88): Aws\Handler\GuzzleV6\GuzzleHandler->__invoke() 2 wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/ClientSideMonitoring/AbstractMonitoringMiddleware.php(126): Aws\WrappedHttpHandler->__invoke()\n 3 wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/S3/PermanentRedirectMiddleware.php(43): Aws\ClientSideMonitoring\AbstractMonitoringMiddleware->__invoke()\n 4 /va…’, referer: wp-admin/upload.php
Did you guys get this resolved? We are also getting this error when used in conjuction with the Moneris WooCommerce Payment Gateway
An error of type E_ERROR was caused in line 136 of the file /wp-content/plugins/mco_woo/vendor/guzzlehttp/guzzle/src/functions.php.
Error message: Uncaught Error: Undefined constant GuzzleHttp\Client::VERSION in /wp-content/plugins/mco_woo/vendor/guzzlehttp/guzzle/src/functions.php:136
Stack trace:
#0 /wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php(40): GuzzleHttp\default_user_agent()