Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Ошибка Undefined index: module_id


BlackDTouch
 Share

Recommended Posts

После установки модуля MiniMenu, не хочет обращаться к базе данных module_id. не могу понять в чем причина, почему не подтягивает

 

 Undefined index: module_id in C:\OpenServer\domains\GTL1\catalog\controller\extension\module\minimenu.php on line 27Notice: Undefined index: burger_text in C:\OpenServer\domains\GTL1\catalog\controller\extension\module\minimenu.php on line 28Notice: Undefined index: module_id in C:\OpenServer\domains\GTL1\catalog\controller\extension\module\minimenu.php on line 30Notice: Undefined index: module_id in C:\OpenServer\domains\GTL1\catalog\controller\extension\module\minimenu.php on line 35Notice: Undefined index: store_id in C:\OpenServer\domains\GTL1\catalog\controller\extension\module\minimenu.php on line 35Notice: Undefined index: module_id in C:\OpenServer\domains\GTL1\catalog\controller\extension\module\minimenu.php on line 35Notice: Undefined index: module_id in C:\OpenServer\domains\GTL1\catalog\controller\extension\module\minimenu.php on line 37

 

 

$this->data['module_id'] = $setting['module_id'];
        $this->data['burger_text'] = html_entity_decode($setting['burger_text']);
 
        if (!isset(self::$MINIMENU[$setting['module_id']])) {
            $current = [
                'host' => $this->request->server['SERVER_NAME'],
                'uri' => $this->request->server['REQUEST_URI']
            ];
            self::$MINIMENU[$setting['module_id']] = $this->model_extension_module_minimenu->getTree($parent = 0, $setting['store_id'], $setting['module_id'], $current);
        }
        $this->data['treemenu'] = self::$MINIMENU[$setting['module_id']];
 
        $template = 'extension/module/minimenu';
 
        return $this->load->view($template, $this->data);
Link to comment
Share on other sites


30.10.2022 в 03:47, BlackDTouch сказал:

После установки модуля MiniMenu, не хочет обращаться к базе данных module_id. не могу понять в чем причина, почему не подтягивает

 

 Undefined index: module_id in C:\OpenServer\domains\GTL1\catalog\controller\extension\module\minimenu.php on line 27Notice: Undefined index: burger_text

 

Таблицы oc_minimenu, oc_minimenu_description присутствуют в БД после установки модуля ?

Edited by 3DO
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.