OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: BigFreddy on September 03, 2026, 06:28:21 PM

Title: Fatal error: Uncaught Error: Class "OPNsense\Base\Menu\MenuContainer" not found
Post by: BigFreddy on September 03, 2026, 06:28:21 PM
Hi,

I was updating OPNsense to its latest version before doing the major upgrade to the latest release and somewhere during all the minor updates, I received the errors listed below. I then did the big major upgrade to the latest version of OPNsense and haven't got any similar errors during that upgrade.


Errors from the update console:
Fatal error: Uncaught Error: Class "OPNsense\Base\Menu\MenuContainer" not found in /usr/local/opnsense/mvc/app/models/OPNsense/DHCPv4/Menu/Menu.php:34
Stack trace:
#0 /usr/local/opnsense/mvc/app/library/OPNsense/Autoload/Loaded.php(49): require_once()
#1 [internal function] OPNsense\Autoload\Loader->autoload('OPNsense\\DHCPv4...')
#2 /usr/local/opnsense/mvc/script/run_migrations.php(64): ReflectionClass->_construct('OPNsense\\DHCP4...')
#3 {main}
  throw in /usr/local/opnsense/mvc/app/models/OPNsense/DHCPv4/Menu/Menu.php on line 34
Reloading plugin configuration
Flushing all caches...done
Reloading template OPNsense/Syslog: OK

I'm posting here as I'm not sure what to think about the errors. I had similar issues around January of this year and replacing mSATA drive solved the issue and the errors were gone until now, a time where I decided to install minor updates. I had the new mSATA drive for around 7 and a half months and I'm getting error issues again. Could it be that the mSATA drive has the issues again, firewall box killing my drives or this error being a random one and there is nothing to worry about? Technically speaking, I never had SSD with such a low lifespan before and I doubt that OPNsense is killing my drives.

Any thoughts on it and what I should do next?