Hi,
I'm using osTicket version (1.17-git (?) — 7c20036 is available). I've successfully added a Gmail account with App Password and that's working perfectly fine. But now I'm trying to add my Microsoft Exchange account using the OAuth2 plugin. I've registered the app in Azure and granted admin consent to the Graph API. After populating the values in osTicket, I'm getting this error message and the next time when I try to edit the configuration a blank window opens and I can do nothing. I don't have much knowledge about PHP so can't understand what to do next. What can be the probable issue? and how can I fix this error? Help will be much appreciated. Thanks in advance.
the error:
"Fatal error: Uncaught Error: Call to undefined method PluginInstance::setConfigClass() in phar:///var/www/html/include/plugins/auth-oauth2.phar/oauth2.php:640 Stack trace: #0 /var/www/html/include/class.email.php(544): GenericEmailOauth2Provider->getPluginInstance() #1 /var/www/html/include/class.email.php(856): EmailAccount->getOAuth2Instance() #2 /var/www/html/include/class.email.php(233): EmailAccount->delete() #3 /var/www/html/scp/emails.php(75): Email->delete() #4 {main} thrown in phar:///var/www/html/include/plugins/auth-oauth2.phar/oauth2.php on line 640"