• Resolved merrillk

    (@merrillk)


    After updating W3 Total Cache to version 2.7.6, our website was unable to upload media files. An error appeared on the frontend stating, ‘The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2560 pixels.’ Upon checking the server logs, we found the following error: PHP Fatal error: Uncaught Error: Undefined constant Guzzle Http\Client::VERSION in wp-content/plugins/backupbuddy/vendor/guzzlehttp/guzzle/src/functions.php:136\nStack trace:\n#0 wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php
    Reverting the update fixed the error; however, older versions of this plugin have security vulnerabilities. We need to update this plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    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!


    Thread Starter merrillk

    (@merrillk)

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.