Error when installing new module in 2.0.1.1
Posted: Sat Feb 07, 2015 12:38 pm
Hi all!
Could anybody help with idea how to fix that?
Lines looks like this:
Could anybody help with idea how to fix that?
Code: Select all
Fatal error: Call to undefined method User::getGroupId() in /admin/controller/extension/module.php on line 31
Code: Select all
$this->model_user_user_group->addPermission($this->user->getGroupId(), 'access', 'module/' . $this->request->get['extension']);
$this->model_user_user_group->addPermission($this->user->getGroupId(), 'modify', 'module/' . $this->request->get['extension']);