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

падает на // Trigger the pre events


j900jack
 Share

Recommended Posts

Привет, нужен хоть какой-то совет, помогите дилетанту пожалуйста.

Пытаюсь доработать обмен с 1С от Zenwalker для последней версии опенкарта.

В обмене есть код:

$this->load->model('tool/ex1c');
$this->model_tool_ex1c->test();

При выполнении второй строки переходит и падает в модуле loader.php

 

$this->registry->get('event') возвращает null

 

// Trigger the pre events $result = $this->registry->get('event')->trigger('view/' . $trigger . '/before', array(&$route, &$data, &$template));

 

В $this->registry[data] просто нет поля event, однако при вызове из родных модулей опенкарта это поле есть.

 

Что нужно сделать, чтобы появилось это поле event, или как отключить этот механизм событий для своего модуля?

 

 

 

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.