OliveStudio / olivemenus

A powerful menus plugin for Craft CMS built for the need of simplicity and flexibility
MIT License
40 stars 22 forks source link

Error in control panel when editing a menu #56

Closed fractorr closed 2 years ago

fractorr commented 2 years ago

I recently upgraded to Craft CMS 3.7.36 and when I try to edit a menu in the control panel I get this error but the menus still load on the front end.

0 /storage/av12345/www/public_html/vendor/olivestudio/craft-olivemenus/src/controllers/MenuItemsController.php(65): olivestudio\olivemenus\services\OlivemenusService->getMenuById()

1 [internal function]: olivestudio\olivemenus\controllers\MenuItemsController->actionEdit()

2 /storage/av12345/www/public_html/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()

3 /storage/av12345/www/public_html/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams()

4 /storage/av12345/www/public_html/vendor/yiisoft/yii2/base/Module.php(552): yii\base\Controller->runAction()

5 /storage/av12345/www/public_html/vendor/craftcms/cms/src/web/Application.php(293): yii\base\Module->runAction()

6 /storage/av12345/www/public_html/vendor/yiisoft/yii2/web/Application.php(103): craft\web\Application->runAction()

7 /storage/av12345/www/public_html/vendor/craftcms/cms/src/web/Application.php(278): yii\web\Application->handleRequest()

8 /storage/av12345/www/public_html/vendor/yiisoft/yii2/base/Application.php(384): craft\web\Application->handleRequest()

9 /storage/av12345/www/public_html/public/index.php(21): yii\base\Application->run()

10 {main}

2022-03-18 08:22:24 [-][1][4hq3ns5e30veusld9rui3c3ldr][info][application] $_GET = [ 'p' => 'admin/olivemenus/menu-items/6' ]

fractorr commented 2 years ago

Never mind, somehow the models directory was missing.