Looking for help on this.
Recently upgraded to 1.17.2 for the goal of adding OAuth2 (system info: Oracle Linux 8.7, Apache, PHP 8.1, MySQL 8.x)
Receiving this PHP error when attempting to configure the OAuth2 plugin (the log file is here: \var\log\php-fpm):
[28-Dec-2022 00:14:52 UTC] PHP Fatal error: Uncaught Error: Call to undefined method SimpleForm::setNotice() in /var/www/html/upload/include/staff/templates/email-oauth2auth.tmpl.php:7
Stack trace:
#0 /var/www/html/upload/include/ajax.email.php(40): include()
#1 /var/www/html/upload/include/class.dispatcher.php(153): EmailAjaxAPI->configureAuth()
#2 /var/www/html/upload/include/class.dispatcher.php(40): UrlMatcher->dispatch()
#3 /var/www/html/upload/include/class.dispatcher.php(122): Dispatcher->resolve()
#4 /var/www/html/upload/include/class.dispatcher.php(40): UrlMatcher->dispatch()
#5 /var/www/html/upload/scp/ajax.php(326): Dispatcher->resolve()
#6 {main}
thrown in /var/www/html/upload/include/staff/templates/email-oauth2auth.tmpl.php on line 7
The GUI shows a white rectangle and the page freezes (image below).
Similar error when attempting to edit a user:
[27-Dec-2022 23:58:35 UTC] PHP Fatal error: Uncaught Error: Call to undefined method CustomForm::getNotice() in /var/www/html/upload/include/staff/templates/dynamic-form.tmpl.php:41
Stack trace:
#0 /var/www/html/upload/include/class.forms.php(208): include()
#1 /var/www/html/upload/include/class.dynamic_forms.php(1255): Form->render()
#2 /var/www/html/upload/include/staff/templates/user.tmpl.php(137): DynamicFormEntry->render()
#3 /var/www/html/upload/include/ajax.users.php(158): include('...')
#4 /var/www/html/upload/include/class.dispatcher.php(153): UsersAjaxAPI->editUser()
#5 /var/www/html/upload/include/class.dispatcher.php(40): UrlMatcher->dispatch()
#6 /var/www/html/upload/include/class.dispatcher.php(122): Dispatcher->resolve()
#7 /var/www/html/upload/include/class.dispatcher.php(40): UrlMatcher->dispatch()
#8 /var/www/html/upload/scp/ajax.php(326): Dispatcher->resolve()
#9 {main}
thrown in /var/www/html/upload/include/staff/templates/dynamic-form.tmpl.php on line 41

Many thanks!