yii\base\ErrorException: Non-static method common\models\Menu::getMenuItems() should not be called statically in C:\OSPanel\domains\trest12.lan\backend\views\menu\_form.php:17
Stack trace:
#0 C:\OSPanel\domains\trest12.lan\backend\views\menu\_form.php(17): yii\base\ErrorHandler->handleError(8192, 'Non-static meth...', 'C:\\OSPanel\\doma...', 17, Array)
#1 C:\OSPanel\domains\trest12.lan\vendor\yiisoft\yii2\base\View.php(336): require('C:\\OSPanel\\doma...')
#2 C:\OSPanel\domains\trest12.lan\vendor\yiisoft\yii2\base\View.php(254): yii\base\View->renderPhpFile('C:\\OSPanel\\doma...', Array)
#3 C:\OSPanel\domains\trest12.lan\vendor\yiisoft\yii2\base\View.php(156): yii\base\View->renderFile('C:\\OSPanel\\doma...', Array, NULL)
#4 C:\OSPanel\domains\trest12.lan\backend\views\menu\update.php(16): yii\base\View->render('_form', Array)
#5 C:\OSPanel\domains\trest12.lan\vendor\yiisoft\yii2\base\View.php(336): require('C:\\OSPanel\\doma...')
#6 C:\OSPanel\domains\trest12.lan\vendor\yiisoft\yii2\base\View.php(254): yii\base\View->renderPhpFile('C:\\OSPanel\\doma...', Array)
#7 C:\OSPanel\domains\trest12.lan\vendor\yiisoft\yii2\base\View.php(156): yii\base\View->renderFile('C:\\OSPanel\\doma...', Array, Object(backend\controllers\MenuController))
#8 C:\OSPanel\domains\trest12.lan\vendor\yiisoft\yii2\base\Controller.php(384): yii\base\View->render('update', Array, Object(backend\controllers\MenuController))
#9 C:\OSPanel\domains\trest12.lan\backend\controllers\MenuController.php(101): yii\base\Controller->render('update', Array)
#10 [internal function]: backend\controllers\MenuController->actionUpdate('3')
#11 C:\OSPanel\domains\trest12.lan\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array(Array, Array)
#12 C:\OSPanel\domains\trest12.lan\vendor\yiisoft\yii2\base\Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#13 C:\OSPanel\domains\trest12.lan\vendor\yiisoft\yii2\base\Module.php(528): yii\base\Controller->runAction('update', Array)
#14 C:\OSPanel\domains\trest12.lan\vendor\yiisoft\yii2\web\Application.php(103): yii\base\Module->runAction('menu/update', Array)
#15 C:\OSPanel\domains\trest12.lan\vendor\yiisoft\yii2\base\Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#16 C:\OSPanel\domains\trest12.lan\backend\web\index.php(23): yii\base\Application->run()
#17 {main}