(GOsa² 2.8~git20230203.10abe45+dfsg-1+deb12u2 on `Debian Edu 12.15`
has the same issue.)
Environment:
- Server Debian Edu 13.7 server with only the role "Main-server"
- (optional) Workstation installed with PXE from server above
How to reproduce:
- GUI log in to the system as any user
- Open Firefox with the default page `https://www/index.html.en`
- Choose GOsa² on the right-side menu
- Log in to GOsa²
- Open any user's account in GOsa²
- Choose the tab Mail (https://www/gosa/main.php?plug=1)
- Press the button "Add Mail settings"
Instead of a webpage, you can observe the ERROR:
```
Fatal error: Uncaught Error: Undefined constant "active" in
/usr/share/gosa/plugins/personal/mailaddress/class_mailAccount.inc:198
Stack trace: #0 /usr/share/gosa/include/class_tabs.inc(172):
mailAccount->execute() #1
/usr/share/gosa/include/class_management.inc(224): tabs->execute() #2
/usr/share/gosa/plugins/admin/users/main.inc(44):
management->execute() #3 /usr/share/gosa/html/main.php(427):
require('...') #4 {main} thrown in
/usr/share/gosa/plugins/personal/mailaddress/class_mailAccount.inc on
line 198
```
Records in apache2 logs:
```
==> error.log <==
[Thu Sep 24 13:26:32.166188 2026] [php:error] [pid 2340:tid 2340]
[client 10.0.2.2:52756] PHP Fatal error: Uncaught Error: Undefined
constant "active" in
/usr/share/gosa/plugins/personal/mailaddress/class_mailAccount.inc:198\nStack
trace:\n#0 /usr/share/gosa/include/class_tabs.inc(172):
mailAccount->execute()\n#1
/usr/share/gosa/include/class_management.inc(224): tabs->execute()\n#2
/usr/share/gosa/plugins/admin/users/main.inc(44):
management->execute()\n#3 /usr/share/gosa/html/main.php(427):
require('...')\n#4 {main}\n thrown in
/usr/share/gosa/plugins/personal/mailaddress/class_mailAccount.inc on
line 198, referer: https://www/gosa/main.php?plug=1
==> access.log <==
10.0.2.2 - - [24/Sep/2026:13:26:32 +0200] "POST /gosa/main.php?plug=1
HTTP/1.1" 200 1034 "https://www/gosa/main.php?plug=1" "Mozilla/5.0
(X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0"
```