• Resolved hello12

    (@hello12)


    Hello,

    I’m trying to click the “Disconnect from Square” button and having a big problem. I was to Disconnect and reconnect. I’ve tried deleting the plugin and reinstalling, and it seems the old data is “trapped” and I don’t know the database table to clear or SQL commands to run.

    I’m getting this error below and I don’t know how to “delete something” from the Database so I can clear the connection. WordPress gives me a “critical error” when I click the disconnect button and sends me to this log file:

    01-22-2021 @ 04:57:39 – Could not retrieve business locations.
    01-22-2021 @ 04:57:45 – Request
    Request
    method:
    uri: listLocationsWithHttpInfo
    user-agent: WooCommerce-Square/2.2.5 (WooCommerce/4.0.1; WordPress/5.4.1)
    headers: Array
    (
    )
    body:
    duration: 0.23235s

    01-22-2021 @ 04:57:45 – Response
    Response
    code: 401
    message:
    headers: Array
    (
    [0] => HTTP/2 401
    [content-type] => application/json
    [vary] => Origin, Accept-Encoding
    [x-content-type-options] => nosniff
    [x-download-options] => noopen
    [x-frame-options] => SAMEORIGIN
    [x-permitted-cross-domain-policies] => none
    [x-xss-protection] => 1; mode=block
    [date] => Fri, 22 Jan 2021 08:57:45 GMT
    [content-length] => 438
    [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
    [errors] => Array
    (
    [0] => stdClass Object
    (
    [category] => AUTHENTICATION_ERROR
    [code] => UNAUTHORIZED
    [detail] => The Authorization http header of your request was incorrect or expired. The header value is expected to be of the format "Bearer TOKEN" (without quotation marks), where TOKEN is a valid access token (e.g. "Bearer ABC123def456GHI789jkl0"). For more information, see https://developer.squareup.com/docs/build-basics/using-rest-api#__set-the-headers__ .
    )

    )

    )

    01-22-2021 @ 04:57:45 - Could not retrieve business locations.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Aashik P – a11n

    (@aashik)

    Hi there!

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.

    Along with that, can you please share the latest error that you see under WooCommerce > Status > Logs > Select – Latest Fatal Error Log under drop-down (right side) > Click – View button?

    Thread Starter hello12

    (@hello12)

    Hello the answer was to disable all plugins and switch to original twentynineteen theme and then I could disconnect

    Plugin Support Aashik P – a11n

    (@aashik)

    Hello the answer was to disable all plugins and switch to original twentynineteen theme and then I could disconnect

    Glad to know you were able to resolve this via conflict testing.

    I’ll mark this topic as solved for now. Please feel free to open a new topic if you have any other questions.

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