Hi, as of today suddenly mails aren't being fetched. After a lot of trouble shooting I upgraded to 1.17.2 and also included the new Oauth plugin.
osTicket versie v1.17.2 (8fbc7ee) — Bij de tijd
Web Server Software Apache/2.4.52 (Ubuntu)
MySQLversie 8.0.31
PHPversie 8.1.13
However, when configuring Oauth (again, which was working properly) it keeps hanging on provisioning:
Apache logs says:
[Wed Dec 28 16:13:08.080191 2022] [php:error] [pid 62072] [client xx.xx.xx.xx:63717] PHP Fatal error: Uncaught Error: Call to a member function setConfigClass() on null in phar:///var/www/html/support/include/plugins/auth-oauth2.phar/oauth2.php:601\nStack trace:\n#0 /var/www/html/support/include/class.email.php(682): GenericEmailOauth2Provider->getPluginInstance()\n#1 /var/www/html/support/include/ajax.email.php(26): EmailAccount->saveAuth()\n#2 /var/www/html/support/include/class.dispatcher.php(153): EmailAjaxAPI->configureAuth()\n#3 /var/www/html/support/include/class.dispatcher.php(40): UrlMatcher->dispatch()\n#4 /var/www/html/support/include/class.dispatcher.php(122): Dispatcher->resolve()\n#5 /var/www/html/support/include/class.dispatcher.php(40): UrlMatcher->dispatch()\n#6 /var/www/html/support/scp/ajax.php(326): Dispatcher->resolve()\n#7 {main}\n thrown in phar:///var/www/html/support/include/plugins/auth-oauth2.phar/oauth2.php on line 601, referer: https://support.xx.nl/scp/emails.php?id=1
[Wed Dec 28 16:13:53.270986 2022] [php:error] [pid 62082] [client xx.xx.xx.xx:63755] PHP Fatal error: Uncaught Error: Call to a member function setConfigClass() on null in phar:///var/www/html/support/include/plugins/auth-oauth2.phar/oauth2.php:601\nStack trace:\n#0 /var/www/html/support/include/class.email.php(682): GenericEmailOauth2Provider->getPluginInstance()\n#1 /var/www/html/support/include/ajax.email.php(26): EmailAccount->saveAuth()\n#2 /var/www/html/support/include/class.dispatcher.php(153): EmailAjaxAPI->configureAuth()\n#3 /var/www/html/support/include/class.dispatcher.php(40): UrlMatcher->dispatch()\n#4 /var/www/html/support/include/class.dispatcher.php(122): Dispatcher->resolve()\n#5 /var/www/html/support/include/class.dispatcher.php(40): UrlMatcher->dispatch()\n#6 /var/www/html/support/scp/ajax.php(326): Dispatcher->resolve()\n#7 {main}\n thrown in phar:///var/www/html/support/include/plugins/auth-oauth2.phar/oauth2.php on line 601, referer: https://support.xx.nl/scp/emails.php?id=1
[Wed Dec 28 16:17:12.936800 2022] [php:error] [pid 62075] [client xx.xx.xx.xx:63833] PHP Fatal error: Uncaught Error: Call to a member function setConfigClass() on null in phar:///var/www/html/support/include/plugins/auth-oauth2.phar/oauth2.php:601\nStack trace:\n#0 /var/www/html/support/include/class.email.php(682): GenericEmailOauth2Provider->getPluginInstance()\n#1 /var/www/html/support/include/ajax.email.php(26): EmailAccount->saveAuth()\n#2 /var/www/html/support/include/class.dispatcher.php(153): EmailAjaxAPI->configureAuth()\n#3 /var/www/html/support/include/class.dispatcher.php(40): UrlMatcher->dispatch()\n#4 /var/www/html/support/include/class.dispatcher.php(122): Dispatcher->resolve()\n#5 /var/www/html/support/include/class.dispatcher.php(40): UrlMatcher->dispatch()\n#6 /var/www/html/support/scp/ajax.php(326): Dispatcher->resolve()\n#7 {main}\n thrown in phar:///var/www/html/support/include/plugins/auth-oauth2.phar/oauth2.php on line 601, referer: https://support.xx.nl/scp/emails.php?id=1