• Resolved flushdrew

    (@flushdrew)


    Hello,

    I have the following fatal error when redirecting to the site after connexion :

    [16-Mar-2022 14:38:57 UTC] PHP Fatal error: Uncaught Error: Undefined constant ‘AUTH_KEY’ in /www/xxxxxxxxx/public/wp-content/plugins/pinterest-for-woocommerce/src/Crypto.php:37
    Stack trace:
    #0 /www/xxxxxxxxxx/public/wp-content/plugins/pinterest-for-woocommerce/src/Crypto.php(75): Automattic\WooCommerce\Pinterest\Crypto->__construct()
    #1 /www/xxxxxxxxxx/public/wp-content/plugins/pinterest-for-woocommerce/src/Crypto.php(113): Automattic\WooCommerce\Pinterest\Crypto::get_key()
    #2 /www/xxxxxxxxxx/public/wp-content/plugins/pinterest-for-woocommerce/class-pinterest-for-woocommerce.php(579): Automattic\WooCommerce\Pinterest\Crypto::encrypt(‘MTQ2ODQxNDo2MTg…’)
    #3 /www/xxxxxxxxxxx/public/wp-content/plugins/pinterest-for-woocommerce/src/API/Auth.php(111): Pinterest_For_Woocommerce::save_token(Array)
    #4 /www/xxxxxxxxxxx/public/wp-includes/rest-api/class-wp-rest-server.php(1141): Automattic\WooCommerce\Pinterest\API\Auth->oauth_callback(Object(WP_REST_Request))
    #5 /www/xxxxxxxxxxx/public/wp-inc in /www/xxxxxxxxxx/public/wp-content/plugins/pinterest-for-woocommerce/src/Crypto.php on line 37

    Any idea how to fix it please ?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Christian

    (@christian1983)

    Hey @flushdrew ,

    Hope you are doing well!

    try to check the following link conflict test on a Staging site, could be some plugin or even the Theme you are using. We need to isolate the problem first.

    If you can’t find the issue, please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.
    Please include a link to this forum thread, so that we can keep track of what’s already been done.
    We will be able to help you further there.

    Best,
    Christian

    Plugin Support Christian

    (@christian1983)

    Hey there,

    Since we haven’t heard back from the OP in a while, I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Best,
    Christian

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error when connecting’ is closed to new replies.