maicol07 Hi, thank you so much for replying! I really appreciate it. Here's the full error message that I got:
Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error:
PATCH http://wordpress.loc/forum/api/users/1resulted in a
401 Unauthorizedresponse: {"errors":[{"status":"401","code":"not_authenticated"}]} in C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php:113 Stack trace:
#0 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\guzzlehttp\guzzle\src\Middleware.php(69): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response), NULL, Array, NULL)
#1 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\guzzlehttp\promises\src\Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\guzzlehttp\promises\src\Promise.php(153): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL)
#3 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\guzzlehttp\promises\src\TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\guzzlehttp\promises\src\Promise.php(248): GuzzleHttp\Promise\TaskQueue->run(true)
#5 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\guzzlehttp\promises\src\Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\guzzlehttp\promises\src\Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending()
#7 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\guzzlehttp\promises\src\Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\guzzlehttp\promises\src\Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#9 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\guzzlehttp\guzzle\src\Client.php(187): GuzzleHttp\Promise\Promise->wait()
#10 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\guzzlehttp\guzzle\src\ClientTrait.php(112): GuzzleHttp\Client->request('PATCH', 'users/1', Array)
#11 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\maicol07\flarum-api-client\src\Client.php(68): GuzzleHttp\Client->patch('users/1', Array)
#12 [internal function]: Maicol07\Flarum\Api\Client->request()
#13 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\maicol07\flarum-api-client\src\Fluent.php(353): call_user_func_array(Array, Array)
#14 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\maicol07\flarum-sso-plugin\src\User.php(69): Maicol07\Flarum\Api\Fluent->__call('request', Array)
#15 C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\sso-flarum.php(266): Maicol07\SSO\User->update() #16 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(326): flarum_sso_update_details(1, Object(WP_User)) #17 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#18 C:\xampp\htdocs\wordpress\wp-includes\plugin.php(517): WP_Hook->do_action(Array)
#19 C:\xampp\htdocs\wordpress\wp-includes\user.php(2471): do_action('profile_update', 1, Object(WP_User), Array)
#20 C:\xampp\htdocs\wordpress\wp-includes\user.php(2594): wp_insert_user(Array)
#21 C:\xampp\htdocs\wordpress\wp-admin\includes\user.php(233): wp_update_user(Array)
#22 C:\xampp\htdocs\wordpress\wp-admin\user-edit.php(170): edit_user(1)
#23 C:\xampp\htdocs\wordpress\wp-admin\profile.php(18): require_once('C:\\xampp\\htdocs...')
#24 {main} thrown in C:\xampp\htdocs\wordpress\wp-content\plugins\sso-flarum\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php on line 113