• Resolved igorlecroc

    (@igorlecroc)


    Hello,
    I have this error crashing my website when editing a booking.
    Below this error there is the content of the line 113
    If you could enlighten me about this ?
    First time a see this one.

    =======
    Fatal error: Uncaught Error: Undefined class constant ‘MAJOR_VERSION’ in
    /home/xxxx/wp-content/plugins/wp-
    seopress/vendor/guzzlehttp/guzzle/src/Utils.php:113 Stack trace: #0
    /home/xxxx/wp-content/plugins/wp-
    seopress/vendor/guzzlehttp/guzzle/src/functions.php(71):GuzzleHttp|Utils::defaultUserAgent()
    #1 /home/xxxx/wp-content/plugins/post-smtp/Postman/Postman-
    Mail/google-api-client/vendor/guzzlehttp/guzzle/src/Client.php(194):
    GuzzleHttp|default_user_agent() #2 /home /wp-
    content/plugins/post-smtp/Postman/Postman-Mail/google-api-
    client/vendor/guzzlehttp/guzzle/src/Client.php(75):GuzzleHttp\Client-configureDefaults(Array)
    #3 /home/xxxx/wp-content/plugins/wp-
    seopress/vendor/google/apiclient/src/Client.php(1210):GuzzleHttp|Client->__construct(Array)
    #4 /home/xxxx/wp-content/plugins/wp-
    seopress/vendor/google/apiclient/src/Client.php(1163):Google|Client-createDefaultHttpCliin
    /home/xxxx/wp-content/plugins/wp-
    seopress/vendor/guzzlehttp/guzzle/src/Utils.php on line 113

    Une erreur critique est survenue sur ce site. Veuillez consulter la boite de réception de l’e-mail
    ‘administration de vote site pour plus d’informations.

    En apprendre plus sur le débogage de WordPress.
    =======

    Line 113 below

    =====

    /**
         * Get the default User-Agent string to use with Guzzle.
         */
        public static function defaultUserAgent(): string
        {
            return sprintf('GuzzleHttp/%d', ClientInterface::MAJOR_VERSION);
        }

    =====

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Benjamin Denis

    (@rainbowgeek)

    Still working on this Guzzle conflict.

    Really tricky to fix because of the lack of a dependency manager in WordPress.

    Testing different solutions.

    Hope we can have a fix soon.

    In the meantime, you can rollback to version 5.3.1 of Free and PRO to prevent this conflict.

    Thx

    Plugin Author Benjamin Denis

    (@rainbowgeek)

    Hi,
    ?
    could you update to version SEOPress Free 5.4.4 and SEOPress PRO 5.4.3 please?
    ?
    ?It should solve this issue.
    ?
    ?Let us know if it still doesn’t work as expected.
    ?
    ?Thanks!

    Thread Starter igorlecroc

    (@igorlecroc)

    The roll back to 5.3.1 free worked for me.

    I’ll try SEOpress Free 5.4.4 and let you know if its ok.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error SEOPRESS’ is closed to new replies.