Welcome Guest, Not a member yet? Register   Sign In
Basic App - Free CMS on CodeIgniter 4
#70

(This post was last modified: 11-03-2021, 09:44 AM by [email protected]. Edit Reason: Additional information )

Hi, I keep getting this error:

ErrorException
Undefined index: item_uid

VENDORPATH/basic-app/module-menu/Models/Admin/BaseMenuItemModel.php at line 35

28        'item_uid' => 'not_special_chars|max_length[255]'
29    ];
30
31    public function afterValidate(array $params) : array
32    {
33        $data = $params['data'];
34
35        if ($data['item_uid'])
36        {
37            $class = static::class;
38
39            $query = new $class;
40
41            $query->where([
42                'item_menu_id' => $data['item_menu_id

The error happens when I try to edit a menu item from the main menu (so, I think there is something wrong with the way my installation is trying to edit things in the menu module?), for example. I can seem to add and edit and delete other items with no problem. Even adding and deleting menu items works fine, just editing.

And this page and menu item aren't showing: /user/logoff.
Any help would be appreciated, Thanks!
Reply


Messages In This Thread
RE: Basic App - Free CMS on CodeIgniter 4 - by [email protected] - 11-02-2021, 04:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB