Dear all,
all of a sudden our email fetching from a Microsoft Office 365 account stopped working. We have recently reauthorized but then after a couple of days it stopped working. If we try to edit the Oauth2 configuration we get this window
Apache log reporst this error:
PHP Fatal error: Uncaught Error: Call to a member function setConfigClass() on null in phar:///var/www/html/osTicket-v1.18.1/include/plugins/auth-oauth2.phar/oauth2.php:640\nStack trace:\n#0 phar:///var/www/html/osTicket-v1.18.1/include/plugins/auth-oauth2.phar/oauth2.php(429): GenericEmailOauth2Provider->getPluginInstance()\n#1 phar:///var/www/html/osTicket-v1.18.1/include/plugins/auth-oauth2.phar/oauth2.php(441): OAuth2ProviderBackend->getConfig()\n#2 /var/www/html/osTicket-v1.18.1/include/class.email.php(593): OAuth2ProviderBackend->getConfigForm()\n#3 /var/www/html/osTicket-v1.18.1/include/class.email.php(663): EmailAccount->getOAuth2ConfigForm()\n#4 /var/www/html/osTicket-v1.18.1/include/ajax.email.php(23): EmailAccount->getAuthConfigForm()\n#5 /var/www/html/osTicket-v1.18.1/include/class.dispatcher.php(153): EmailAjaxAPI->configureAuth()\n#6 /var/www/html/osTicket-v1.18.1/include/class.dispatcher.php(40): UrlMatcher->dispatch()\n#7 /var/www/html/osTicket-v1.18.1/include/class.dispatcher.php(119): Dispatcher->resolve()\n#8 /var/www/html/osTicket-v1.18.1/include/class.dispatcher.php(40): UrlMatcher->dispatch()\n#9 /var/www/html/osTicket-v1.18.1/scp/ajax.php(327): Dispatcher->resolve()\n#10 {main}\n thrown in phar:///var/www/html/osTicket-v1.18.1/include/plugins/auth-oauth2.phar/oauth2.php on line 640, referer: https://xxxxx.com/osTicket/scp/emails.php?id=5
All plugins are to the latest version.
Any idea how to solve. We are basically stuck