After update to 24.1.7 web gui works fine. Next mornig connection to web gui fail with error displayed at browser:
Fatal error: Uncaught Error: Call to undefined function get_current_theme() in /usr/local/etc/inc/authgui.inc:349 Stack trace: #0 /usr/local/etc/inc/authgui.inc(265): display_login_form(NULL) #1 /usr/local/www/guiconfig.inc(115): require_once('/usr/local/etc/...') #2 /usr/local/www/index.php(31): require_once('/usr/local/www/...') #3 {main} thrown in /usr/local/etc/inc/authgui.inc on line 349
Any ideas how to fix that ?
Try a different browser? Do SSH and console login still work?
Same error in other browsers.
SSH and console works fine.
We don't have "get_current_theme" function in our code anymore so I think the error is at least understandable. Any idea what's using it?
If in doubt just try to reset the core package:
# opnsense-revert opnsense
Cheers,
Franco
I have this same issue after installing a vanilla opnsense 24.1 from the image, and then struggeling with the update to the latest minor version, had to "pkg install opnsense" for the package manager to recognize that its actually installed, then after upgrade to 24.1.9 i cannot login to the webgui because of this error. i have not changed any meaningful setting after vanilla install, only activated ssh and root login.
also did opnsense-bootstrap, but didn't fix it.
It still sounds like the files on the disk are not 100% the state they should be in.
Cheers,
Franco