start log [14-Jan-2026 11:24:49 UTC] PHP Warning: Undefined array key "grant_type" in /var/www/html/openemr/src/RestControllers/AuthorizationController.php on line 1357 [14-Jan-2026 11:24:49 UTC] [2026-01-14T11:24:49.816971+00:00] OpenEMR.ERROR: ExceptionHandlerListener exception Cannot assign null to property OpenEMR\RestControllers\AuthorizationController::$grantType of type string {"trace":"#0 /var/www/html/openemr/src/RestControllers/Subscriber/OAuth2AuthorizationListener.php(126): OpenEMR\\RestControllers\\AuthorizationController->oauthAuthorizeToken(Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#1 /var/www/html/openemr/src/RestControllers/Subscriber/OAuth2AuthorizationListener.php(81): OpenEMR\\RestControllers\\Subscriber\\OAuth2AuthorizationListener->authorizeRequest(Object(OpenEMR\\Common\\Http\\HttpRestRequest), Object(OpenEMR\\Core\\OEHttpKernel))\n#2 /var/www/html/openemr/vendor/symfony/event-dispatcher/EventDispatcher.php(220): OpenEMR\\RestControllers\\Subscriber\\OAuth2AuthorizationListener->onKernelRequest(Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent), 'kernel.request', Object(Symfony\\Component\\EventDispatcher\\EventDispatcher))\n#3 /var/www/html/openemr/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners(Array, 'kernel.request', Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent))\n#4 /var/www/html/openemr/vendor/symfony/http-kernel/HttpKernel.php(157): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent), 'kernel.request')\n#5 /var/www/html/openemr/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(OpenEMR\\Common\\Http\\HttpRestRequest), 1)\n#6 /var/www/html/openemr/src/RestControllers/ApiApplication.php(123): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#7 /var/www/html/openemr/oauth2/authorize.php(28): OpenEMR\\RestControllers\\ApiApplication->run(Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#8 {main}"} [] [14-Jan-2026 15:26:33 UTC] PHP Warning: Undefined array key "content-type" in /var/www/html/openemr/src/RestControllers/AuthorizationController.php on line 261 [14-Jan-2026 15:26:33 UTC] [2026-01-14T15:26:33.140196+00:00] OpenEMR.ERROR: Exception occurred Unexpected content type {"trace":"#0 /var/www/html/openemr/src/RestControllers/Subscriber/OAuth2AuthorizationListener.php(169): OpenEMR\\RestControllers\\AuthorizationController->clientRegistration(Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#1 /var/www/html/openemr/src/RestControllers/Subscriber/OAuth2AuthorizationListener.php(81): OpenEMR\\RestControllers\\Subscriber\\OAuth2AuthorizationListener->authorizeRequest(Object(OpenEMR\\Common\\Http\\HttpRestRequest), Object(OpenEMR\\Core\\OEHttpKernel))\n#2 /var/www/html/openemr/vendor/symfony/event-dispatcher/EventDispatcher.php(220): OpenEMR\\RestControllers\\Subscriber\\OAuth2AuthorizationListener->onKernelRequest(Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent), 'kernel.request', Object(Symfony\\Component\\EventDispatcher\\EventDispatcher))\n#3 /var/www/html/openemr/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners(Array, 'kernel.request', Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent))\n#4 /var/www/html/openemr/vendor/symfony/http-kernel/HttpKernel.php(157): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent), 'kernel.request')\n#5 /var/www/html/openemr/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(OpenEMR\\Common\\Http\\HttpRestRequest), 1)\n#6 /var/www/html/openemr/src/RestControllers/ApiApplication.php(123): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#7 /var/www/html/openemr/oauth2/authorize.php(28): OpenEMR\\RestControllers\\ApiApplication->run(Object(OpenEMR\\Common\\Http\\HttpRestRequest))\n#8 {main}"} []