Warning: Cannot use a scalar value as an array in /home/admin/public_html/forum/include/fm.class.php on line 757

Warning: Invalid argument supplied for foreach() in /home/admin/public_html/forum/include/fm.class.php on line 770
Форумы портала PHP.SU :: Версия для печати :: Ошибки в opencart
Форумы портала PHP.SU » » CMS и фреймворки » Ошибки в opencart

Страниц (1): [1]
 

1. zheev - 03 Ноября, 2015 - 11:24:52 - перейти к сообщению
Ребят, помогите пожалуйста. Скачал WeMenu для OpenCart 2

И в админке, где редактирование модуля ошибки:

Notice: Indirect modification of overloaded property ControllerModuleWeMenu::$data has no effect in /var/www/slryqyxd/data/www/ivrio tex.ru/admin/controller/module/w e_menu.php on line 59Notice: Indirect modification of overloaded property ControllerModuleWeMenu::$data has no effect in /var/www/slryqyxd/data/www/ivrio tex.ru/admin/controller/module/w e_menu.php on line 60Notice: Indirect modification of overloaded property ControllerModuleWeMenu::$data has no effect in /var/www/slryqyxd/data/www/ivrio tex.ru/admin/controller/module/w e_menu.php on line 61Notice: Indirect modification of overloaded property ControllerModuleWeMenu::$data has no effect in /var/www/slryqyxd/data/www/ivrio tex.ru/admin/controller/module/w e_menu.php on line 62Notice: Indirect modification of overloaded property ControllerModuleWeMenu::$data has no effect in /var/www/slryqyxd/data/www/ivrio tex.ru/admin/controller/module/w e_menu.php on line 63Notice: Indirect modification of overloaded property ControllerModuleWeMenu::$data has no effect in /var/www/slryqyxd/data/www/ivrio tex.ru/admin/controller/module/w e_menu.php on line 64Notice: Indirect modification of overloaded property ControllerModuleWeMenu::$data has no effect in /var/www/slryqyxd/data/www/ivrio tex.ru/admin/controller/module/w e_menu.php on line 66Notice: Indirect modification of overloaded property ControllerModuleWeMenu::$data has no effect in /var/www/slryqyxd/data/www/ivrio tex.ru/admin/controller/module/w e_menu.php on line 67

Вот код:
PHP:
скопировать код в буфер обмена
  1.  
  2. $this->data['heading_title'] = $this->language->get('heading_title');
  3.  
  4.                 $this->data['text_enabled'] = $this->language->get('text_enabled');
  5.                 $this->data['text_disabled'] = $this->language->get('text_disabled');
  6.                 $this->data['text_content_top'] = $this->language->get('text_content_top');
  7.                 $this->data['text_content_bottom'] = $this->language->get('text_content_bottom');              
  8.                 $this->data['text_column_left'] = $this->language->get('text_column_left');
  9.                 $this->data['text_column_right'] = $this->language->get('text_column_right');
  10.                
  11.                 $this->data['entry_product'] = $this->language->get('entry_product');
  12.                 $this->data['entry_image'] = $this->language->get('entry_image');
  13.                 $this->data['entry_layout'] = $this->language->get('entry_layout');
  14.                 $this->data['entry_position'] = $this->language->get('entry_position');
  15.                 $this->data['entry_status'] = $this->language->get('entry_status');
  16.                 $this->data['entry_sort_order'] = $this->language->get('entry_sort_order');
  17.        
  18.         $this->data['entry_title'] = $this->language->get('entry_title');
  19.         $this->data['entry_item'] = $this->language->get('entry_item');
  20.         $this->data['entry_item_type'] = $this->language->get('entry_item_type');
  21.         $this->data['entry_item_link'] = $this->language->get('entry_item_link');
  22.         $this->data['entry_item_class'] = $this->language->get('entry_item_class');
  23.         $this->data['entry_item_attr'] = $this->language->get('entry_item_attr');
  24.         $this->data['entry_item_sort'] = $this->language->get('entry_item_sort');
  25.         $this->data['entry_item_enable'] = $this->language->get('entry_item_enable');
  26.         $this->data['entry_item_enable_y'] = $this->language->get('entry_item_enable_y');
  27.         $this->data['entry_item_enable_n'] = $this->language->get('entry_item_enable_n');
  28.         $this->data['entry_menu_class'] = $this->language->get('entry_menu_class');
  29.         $this->data['entry_add'] = $this->language->get('entry_add');
  30.         $this->data['entry_tpl_row'] = $this->language->get('entry_tpl_row');
  31.         $this->data['entry_tpl_row_act'] = $this->language->get('entry_tpl_row_act');
  32.         //$this->data['tpl_row'] = $this->language->get('tpl_row');
  33.         //$this->data['tpl_row_act'] = $this->language->get('tpl_row_act');
  34.                
  35.                 $this->data['button_save'] = $this->language->get('button_save');
  36.                 $this->data['button_cancel'] = $this->language->get('button_cancel');
  37.                 $this->data['button_add_module'] = $this->language->get('button_add_module');
  38.                 $this->data['button_remove'] = $this->language->get('button_remove');
  39.  


Заранее спасибо
2. andrewkard - 03 Ноября, 2015 - 16:55:11 - перейти к сообщению
3. zheev - 03 Ноября, 2015 - 18:19:15 - перейти к сообщению
Спасибо в целом помогло)) правда левая колонка не подключается и стили(

andrewkard пишет:
Попробуйте:
https://github.com/opencart-ru/opencart/wiki/upgrade_extension

 

Powered by ExBB FM 1.0 RC1