• Resolved Kokku

    (@kokkultd)


    Hello,

    We upgraded the plugin on one of our website today, and it breaks the site down. We can’t simply log into the admin panel. Here is the error message:

    Fatal error: Uncaught Error: Undefined class constant 'MAJOR_VERSION' in ../wp-content/plugins/paytrail-for-woocommerce/vendor/guzzlehttp/guzzle/src/Utils.php:113 Stack trace: #0 ../wp-content/plugins/paytrail-for-woocommerce/vendor/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\Utils::defaultUserAgent() #1 ../wp-content/plugins/woocommerce-gateway-checkout-finland/vendor/guzzlehttp/guzzle/src/Client.php(202): GuzzleHttp\default_user_agent() #2 ../wp-content/plugins/woocommerce-gateway-checkout-finland/vendor/guzzlehttp/guzzle/src/Client.php(75): GuzzleHttp\Client->configureDefaults(Array) #3 ../wp-content/plugins/paytrail-for-woocommerce/vendor/paytrail/paytrail-php-sdk/src/Util/RequestClient.php(45): GuzzleHttp\Client->__construct(Array) #4 ../wp-content/plugins/paytrail-for-woocommerce/vendor/paytrail/paytrail-php-sdk/src/Util/RequestClient.php(19): Paytrail\SDK\Util\RequestClient->createClient() #5 /n in ../wp-content/plugins/paytrail-for-woocommerce/vendor/guzzlehttp/guzzle/src/Utils.php on line 113

    Can you check and let us know how to fix this issue? Thanks.

    Br,
    Liang

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error after updating the plugin’ is closed to new replies.