Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - jroberts

#1
Hi all,

I've recently installed opnsense and am using it as a router. After leaving it running for around 3-4 hours, the web GUI starts to get errors and says "Failed to load widget" and a popup appears saying "Danger ~ Unexpected error, check log for details".
Moreover, the log and parts of the GUI such as the leases for my DHCP IPv4 are not there. My internet still works fully and is completely fine but I cannot access any data in the web GUI.

Sometimes, some widgets come back and start to deliver info again but some don't. I've tried restoring the software to factory settings, updating the software (im currently on 25.7) and still this error persists. I get a plethora of error codes but this is the newest one:


[24-Dec-2025 13:09:22 Etc/UTC] TypeError: array_column(): Argument #1 ($array) must be of type array, null given in /usr/local/opnsense/mvc/app/controllers/OPNsense/Routing/Api/SettingsController.php:97
Stack trace:
#0 /usr/local/opnsense/mvc/app/controllers/OPNsense/Routing/Api/SettingsController.php(97): array_column(NULL, 'name')
#1 /usr/local/opnsense/mvc/app/library/OPNsense/Mvc/Dispatcher.php(166): OPNsense\Routing\Api\SettingsController->searchGatewayAction()
#2 /usr/local/opnsense/mvc/app/library/OPNsense/Mvc/Router.php(156): OPNsense\Mvc\Dispatcher->dispatch(Object(OPNsense\Mvc\Request), Object(OPNsense\Mvc\Response), Object(OPNsense\Mvc\Session))
#3 /usr/local/opnsense/mvc/app/library/OPNsense/Mvc/Router.php(139): OPNsense\Mvc\Router->performRequest(Object(OPNsense\Mvc\Dispatcher))
#4 /usr/local/opnsense/www/api.php(36): OPNsense\Mvc\Router->routeRequest('/api/routing/se...', Array)
#5 {main}


Any help would be greatly appreciated!