Undefined index: cpulimit error after update
Posted: Thu Oct 26, 2017 11:52 am
Hello, I'm getting the following error after I upgraded from v2.0.3-70 to 2.0.3-84, it appears only HPE-VSR-1000 is affected by this

#0 /opt/unetlab/html/includes/api_nodes.php(539): Slim\Slim::handleErrors(8, 'Undefined index...', '/opt/unetlab/ht...', 539, Array)
#1 /opt/unetlab/html/api.php(302): apiGetLabNodeTemplate(Array)
#2 [internal function]: {closure}('hp-vsr')
#3 /opt/unetlab/html/includes/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#4 /opt/unetlab/html/includes/Slim/Slim.php(1357): Slim\Route->dispatch()
#5 /opt/unetlab/html/includes/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#6 /opt/unetlab/html/includes/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#7 /opt/unetlab/html/includes/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#8 /opt/unetlab/html/includes/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#9 /opt/unetlab/html/api.php(1339): Slim\Slim->run()
#10 {main}
Maybe someone has knowledge on how to fix this without breaking my labs.
Code: Select all
Upgrade: eve-ng-qemu:amd64 (2.0.3-70, 2.0.3-72), eve-ng:amd64 (2.0.3-71, 2.0.3-84)

#0 /opt/unetlab/html/includes/api_nodes.php(539): Slim\Slim::handleErrors(8, 'Undefined index...', '/opt/unetlab/ht...', 539, Array)
#1 /opt/unetlab/html/api.php(302): apiGetLabNodeTemplate(Array)
#2 [internal function]: {closure}('hp-vsr')
#3 /opt/unetlab/html/includes/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#4 /opt/unetlab/html/includes/Slim/Slim.php(1357): Slim\Route->dispatch()
#5 /opt/unetlab/html/includes/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#6 /opt/unetlab/html/includes/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#7 /opt/unetlab/html/includes/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#8 /opt/unetlab/html/includes/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#9 /opt/unetlab/html/api.php(1339): Slim\Slim->run()
#10 {main}
Maybe someone has knowledge on how to fix this without breaking my labs.