gubbe
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Strava] WP Strava ERROR 401 UnauthorizedForum: Plugins
In reply to: [WP-Strava] WP Strava ERROR 401 UnauthorizedSo, I just:
1) removed the Saved ID and the Client Secret.
2) Clicked Save
3) Deleted the Cache
4) Clicked Save
5) Reinserted the saved ID and the client secret
6) Clicked Save
7) Received “New Strava token retrieved. Successfully authenticated.”…and still it doesn’t work.
Forum: Plugins
In reply to: [WP-Strava] WP Strava ERROR 401 UnauthorizedIs it possible to find the authorization code somewhere in the database or wordpress installation ?
Forum: Plugins
In reply to: [WP-Strava] WP Strava ERROR 401 UnauthorizedFor good measure switched off all plugins and tested if that had an impact. Made no difference.
Forum: Plugins
In reply to: [WP-Strava] WP Strava ERROR 401 UnauthorizedI’d say the problem is well-known. This search shows that a bunch of sites have at least the same error message.
Forum: Plugins
In reply to: [WP-Strava] WP Strava ERROR 401 UnauthorizedHow do I start from scratch? Uninstall, clear all data everywhere, reinstall, re-authenticate. I can’t seem to find out how, but I’ll do it with a little help.
Forum: Plugins
In reply to: [WP-Strava] WP Strava ERROR 401 UnauthorizedSure, @jrfoell, how can I help?
Forum: Plugins
In reply to: [WP-Strava] WP Strava ERROR 401 UnauthorizedLooks like @sebastianerb gave up on solving this problem. How about you, @bartjanssen ?
At https://thusgaard.com I seem to be having a similar issue. With debug set to true, this is what I get the text below. I should probably reauthenticate, but I’ve been looking around and I have no idea how:
Warning: Invalid argument supplied for foreach() in /var/www/thusgaard.com/public_html/wp-content/plugins/wp-strava/src/WPStrava/AuthRefresh.php on line 47 WP Strava ERROR Array ( [headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [date] => Mon, 19 Jul 2021 14:01:56 GMT [content-type] => application/json; charset=utf-8 [via] => 1.1 linkerd, 1.1 linkerd [vary] => Origin [server] => nginx/1.19.5 [status] => 401 Unauthorized [x-request-id] => b78bd4cf-2082-4f46-8ec7-efff504e0945 [cache-control] => no-cache [referrer-policy] => strict-origin-when-cross-origin [x-frame-options] => DENY [content-encoding] => gzip [x-xss-protection] => 1; mode=block [x-download-options] => noopen [x-content-type-options] => nosniff [x-permitted-cross-domain-policies] => none ) ) [body] => {"message":"Authorization Error","errors":[{"resource":"Athlete","field":"access_token","code":"invalid"}]} [response] => Array ( [code] => 401 [message] => Unauthorized ) [cookies] => Array ( ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [response:protected] => Requests_Response Object ( [body] => {"message":"Authorization Error","errors":[{"resource":"Athlete","field":"access_token","code":"invalid"}]} [raw] => HTTP/1.1 401 Unauthorized Date: Mon, 19 Jul 2021 14:01:56 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: close Via: 1.1 linkerd, 1.1 linkerd Vary: Origin Server: nginx/1.19.5 Status: 401 Unauthorized X-Request-Id: b78bd4cf-2082-4f46-8ec7-efff504e0945 Cache-Control: no-cache Referrer-Policy: strict-origin-when-cross-origin X-FRAME-OPTIONS: DENY content-encoding: gzip X-XSS-Protection: 1; mode=block X-Download-Options: noopen X-Content-Type-Options: nosniff X-Permitted-Cross-Domain-Policies: none {"message":"Authorization Error","errors":[{"resource":"Athlete","field":"access_token","code":"invalid"}]} [headers] => Requests_Response_Headers Object ( [data:protected] => Array ( [date] => Array ( [0] => Mon, 19 Jul 2021 14:01:56 GMT ) [content-type] => Array ( [0] => application/json; charset=utf-8 ) [via] => Array ( [0] => 1.1 linkerd, 1.1 linkerd ) [vary] => Array ( [0] => Origin ) [server] => Array ( [0] => nginx/1.19.5 ) [status] => Array ( [0] => 401 Unauthorized ) [x-request-id] => Array ( [0] => b78bd4cf-2082-4f46-8ec7-efff504e0945 ) [cache-control] => Array ( [0] => no-cache ) [referrer-policy] => Array ( [0] => strict-origin-when-cross-origin ) [x-frame-options] => Array ( [0] => DENY ) [content-encoding] => Array ( [0] => gzip ) [x-xss-protection] => Array ( [0] => 1; mode=block ) [x-download-options] => Array ( [0] => noopen ) [x-content-type-options] => Array ( [0] => nosniff ) [x-permitted-cross-domain-policies] => Array ( [0] => none ) ) ) [status_code] => 401 [protocol_version] => 1.1 [success] => [redirects] => 0 [url] => https://www.strava.com/api/v3/athlete/activities?&timeout=30 [history] => Array ( ) [cookies] => Requests_Cookie_Jar Object ( [cookies:protected] => Array ( ) ) ) [filename:protected] => [data] => [headers] => [status] => ) )
- This reply was modified 3 years, 7 months ago by gubbe.
Forum: Everything else WordPress
In reply to: WordPress 5.6 Upgrading IssueI just upgraded and have the same problem:
Expected parameter 1 to be an array, string given in …/wp-includes/rest-api/class-wp-rest-server.php on line 1402
Great! This fixed everything – thanks!
Forum: Themes and Templates
In reply to: [Pitch] Add slide issueWas this issue solved? I seem to be having the exact same issue.
Forum: Your WordPress
In reply to: My blog looks too normal.. any suggestion?Change the design – potentially use one of the designs from https://www.alexking.org/software/wordpress/themes/ as a base.