I have been trying to get OAuth set up with Microsoft. I ended up deleting the instance, and now I am trying to add it back, but the plugin just hangs at loading. And I am getting the below error. I have even tried removing and reinstalling the plugin, but it still gives the same error now.
PHP Fatal error: Uncaught Error: Call to a member function setConfigClass() on null in phar://C:/inetpub/app.xxx.com/public/support/include/plugins/auth-oauth2.phar/oauth2.php:586
Stack trace:
#0 C:\inetpub\app.xxx.com\public\support\include\class.email.php(671): GenericEmailOauth2Provider->getPluginInstance()
#1 C:\inetpub\app.xxx.com\public\support\include\ajax.email.php(26): EmailAccount->saveAuth()
#2 C:\inetpub\app.xxx.com\public\support\include\class.dispatcher.php(151): EmailAjaxAPI->configureAuth()
#3 C:\inetpub\app.xxx.com\public\support\include\class.dispatcher.php(38): UrlMatcher->dispatch()
#4 C:\inetpub\app.xxx.com\public\support\include\class.dispatcher.php(120): Dispatcher->resolve()
#5 C:\inetpub\app.xxx.com\public\support\include\class.dispatcher.php(38): UrlMatcher->dispatch()
#6 C:\inetpub\app.xxx.com\public\support\scp\ajax.php(326): Dispatcher->resolve()
#7 {main}
thrown in phar://C:/inetpub/app.xxx.com/public/support/include/plugins/auth-oauth2.phar/oauth2.php on line 586