maiki Posted September 3, 2018 Share Posted September 3, 2018 Всем привет! Осторе 2.1.0.2.1 Обновил Пшп на 7.1 2018-09-03 15:10:47 - PHP Warning: A non-numeric value encountered in /var/www/vhosts/сайт.ru/httpdocs/system/storage/modification/admin/controller/sale/order.php on line 72 Пришел Заказ а в Заказе нет Товара. И вышла ошибка.! Помогите пж что это такое как лечить проблему ? Спасибо заранее Link to comment Share on other sites More sharing options... maiki Posted September 3, 2018 Author Share Posted September 3, 2018 Вот 72 строка файла Ордер пшп if (isset($this->request->get['sort'])) { $sort = $this->request->get['sort']; } else { $sort = 'o.order_id'; } Link to comment Share on other sites More sharing options... Guest smartcoder Posted September 3, 2018 Share Posted September 3, 2018 36 минут назад, maiki сказал: Вот 72 строка файла Ордер пшп if (isset($this->request->get['sort'])) { $sort = $this->request->get['sort']; } else { $sort = 'o.order_id'; } это вы отсюда взяли кусок кода 72 строка? system/storage/modification/admin/controller/sale/order.php или отсюда admin/controller/sale/order.php Link to comment Share on other sites More sharing options... maiki Posted September 3, 2018 Author Share Posted September 3, 2018 5 часов назад, smartcoder сказал: это вы отсюда взяли кусок кода 72 строка? system/storage/modification/admin/controller/sale/order.php или отсюда admin/controller/sale/order.php отсюда admin/controller/sale/order.php Link to comment Share on other sites More sharing options... AlexDW Posted September 3, 2018 Share Posted September 3, 2018 12 минут назад, maiki сказал: отсюда admin/controller/sale/order.php а толку? если показывает ошибку в файле из кеша модификаторов 6 часов назад, maiki сказал: system/storage/modification/admin/controller/sale/order.php on line 72 то из него и нужно Link to comment Share on other sites More sharing options... maiki Posted September 4, 2018 Author Share Posted September 4, 2018 17 часов назад, AlexDW сказал: а толку? если показывает ошибку в файле из кеша модификаторов то из него и нужно Точно! НЕ ОБРАТИЛ ВНИМАНИЕ Вот этот код из Модификатора if ($res < 0) { 72 строка - $json['error']['order_status_id'] = $this->language->get('error_order_status_not_found') + $res; } else { $json['background_color'] = $res[0]['row_color']; $json['color_text'] = $res[0]['row_color_text']; } } $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode($json)); } Link to comment Share on other sites More sharing options... AlexDW Posted September 4, 2018 Share Posted September 4, 2018 http://php.net/manual/ru/migration71.other-changes.php пробуйте + (int)$res; самое логичное - обратиться к автору данного кода Link to comment Share on other sites More sharing options... 1 year later... Minada Posted July 4, 2020 Share Posted July 4, 2020 И у меня аналогичная проблема, когда открываю Список доставки из админки по заказу. Не понимаю, как решить проблему. Warning: A non-numeric value encountered in .../system/storage/modification/admin/controller/sale/order.php on line 2036 На этих строках следующие данные: Quote public function history() { $this->load->language('sale/order'); Link to comment Share on other sites More sharing options... 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 More sharing options... Followers 2 Go to topic listing Similar Content A non-numeric value encountered in - как с этим бороться? By wwizard, October 11, 2020 5 replies 1,142 views smartif January 3 ошибки seo_pro By maugli, April 27, 2012 15 replies 3,260 views sasha3337774 June 11 ОШИБКА " Trying to access array offset on value of type int " By Teapot, March 9 6 replies 435 views Tom March 9 Подскажите как убрать ошибку By Ch0oJoy, Saturday at 06:46 PM 8 replies 110 views halfhope Saturday at 08:40 PM Исправить ошибку на сайте By avado24, Friday at 02:29 PM 2 replies 102 views avado24 Friday at 05:56 PM Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 2.x Opencart 2.x: General questions Ошибка A non-numeric value Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Обновление курса валют Приватбанк, Монобанк, НБУ для Opencart/Ocstore By bogdan281989 Deluxe - адаптивный, универсальный шаблон By aridius Кнопка view в списках (товар, категория, производитель, статья) By chukcha Автоматическое заполнение URL для 4.0 By chukcha Шаблон Nice (Free Edition) для OpenCart 3 By SergeTkach × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × 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. I accept
maiki Posted September 3, 2018 Author Share Posted September 3, 2018 Вот 72 строка файла Ордер пшп if (isset($this->request->get['sort'])) { $sort = $this->request->get['sort']; } else { $sort = 'o.order_id'; } Link to comment Share on other sites More sharing options... Guest smartcoder Posted September 3, 2018 Share Posted September 3, 2018 36 минут назад, maiki сказал: Вот 72 строка файла Ордер пшп if (isset($this->request->get['sort'])) { $sort = $this->request->get['sort']; } else { $sort = 'o.order_id'; } это вы отсюда взяли кусок кода 72 строка? system/storage/modification/admin/controller/sale/order.php или отсюда admin/controller/sale/order.php Link to comment Share on other sites More sharing options... maiki Posted September 3, 2018 Author Share Posted September 3, 2018 5 часов назад, smartcoder сказал: это вы отсюда взяли кусок кода 72 строка? system/storage/modification/admin/controller/sale/order.php или отсюда admin/controller/sale/order.php отсюда admin/controller/sale/order.php Link to comment Share on other sites More sharing options... AlexDW Posted September 3, 2018 Share Posted September 3, 2018 12 минут назад, maiki сказал: отсюда admin/controller/sale/order.php а толку? если показывает ошибку в файле из кеша модификаторов 6 часов назад, maiki сказал: system/storage/modification/admin/controller/sale/order.php on line 72 то из него и нужно Link to comment Share on other sites More sharing options... maiki Posted September 4, 2018 Author Share Posted September 4, 2018 17 часов назад, AlexDW сказал: а толку? если показывает ошибку в файле из кеша модификаторов то из него и нужно Точно! НЕ ОБРАТИЛ ВНИМАНИЕ Вот этот код из Модификатора if ($res < 0) { 72 строка - $json['error']['order_status_id'] = $this->language->get('error_order_status_not_found') + $res; } else { $json['background_color'] = $res[0]['row_color']; $json['color_text'] = $res[0]['row_color_text']; } } $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode($json)); } Link to comment Share on other sites More sharing options... AlexDW Posted September 4, 2018 Share Posted September 4, 2018 http://php.net/manual/ru/migration71.other-changes.php пробуйте + (int)$res; самое логичное - обратиться к автору данного кода Link to comment Share on other sites More sharing options... 1 year later... Minada Posted July 4, 2020 Share Posted July 4, 2020 И у меня аналогичная проблема, когда открываю Список доставки из админки по заказу. Не понимаю, как решить проблему. Warning: A non-numeric value encountered in .../system/storage/modification/admin/controller/sale/order.php on line 2036 На этих строках следующие данные: Quote public function history() { $this->load->language('sale/order'); Link to comment Share on other sites More sharing options... 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 More sharing options... Followers 2 Go to topic listing Similar Content A non-numeric value encountered in - как с этим бороться? By wwizard, October 11, 2020 5 replies 1,142 views smartif January 3 ошибки seo_pro By maugli, April 27, 2012 15 replies 3,260 views sasha3337774 June 11 ОШИБКА " Trying to access array offset on value of type int " By Teapot, March 9 6 replies 435 views Tom March 9 Подскажите как убрать ошибку By Ch0oJoy, Saturday at 06:46 PM 8 replies 110 views halfhope Saturday at 08:40 PM Исправить ошибку на сайте By avado24, Friday at 02:29 PM 2 replies 102 views avado24 Friday at 05:56 PM Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 2.x Opencart 2.x: General questions Ошибка A non-numeric value Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Обновление курса валют Приватбанк, Монобанк, НБУ для Opencart/Ocstore By bogdan281989 Deluxe - адаптивный, универсальный шаблон By aridius Кнопка view в списках (товар, категория, производитель, статья) By chukcha Автоматическое заполнение URL для 4.0 By chukcha Шаблон Nice (Free Edition) для OpenCart 3 By SergeTkach × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × 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. I accept
Guest smartcoder Posted September 3, 2018 Share Posted September 3, 2018 36 минут назад, maiki сказал: Вот 72 строка файла Ордер пшп if (isset($this->request->get['sort'])) { $sort = $this->request->get['sort']; } else { $sort = 'o.order_id'; } это вы отсюда взяли кусок кода 72 строка? system/storage/modification/admin/controller/sale/order.php или отсюда admin/controller/sale/order.php Link to comment Share on other sites More sharing options...
maiki Posted September 3, 2018 Author Share Posted September 3, 2018 5 часов назад, smartcoder сказал: это вы отсюда взяли кусок кода 72 строка? system/storage/modification/admin/controller/sale/order.php или отсюда admin/controller/sale/order.php отсюда admin/controller/sale/order.php Link to comment Share on other sites More sharing options... AlexDW Posted September 3, 2018 Share Posted September 3, 2018 12 минут назад, maiki сказал: отсюда admin/controller/sale/order.php а толку? если показывает ошибку в файле из кеша модификаторов 6 часов назад, maiki сказал: system/storage/modification/admin/controller/sale/order.php on line 72 то из него и нужно Link to comment Share on other sites More sharing options... maiki Posted September 4, 2018 Author Share Posted September 4, 2018 17 часов назад, AlexDW сказал: а толку? если показывает ошибку в файле из кеша модификаторов то из него и нужно Точно! НЕ ОБРАТИЛ ВНИМАНИЕ Вот этот код из Модификатора if ($res < 0) { 72 строка - $json['error']['order_status_id'] = $this->language->get('error_order_status_not_found') + $res; } else { $json['background_color'] = $res[0]['row_color']; $json['color_text'] = $res[0]['row_color_text']; } } $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode($json)); } Link to comment Share on other sites More sharing options... AlexDW Posted September 4, 2018 Share Posted September 4, 2018 http://php.net/manual/ru/migration71.other-changes.php пробуйте + (int)$res; самое логичное - обратиться к автору данного кода Link to comment Share on other sites More sharing options... 1 year later... Minada Posted July 4, 2020 Share Posted July 4, 2020 И у меня аналогичная проблема, когда открываю Список доставки из админки по заказу. Не понимаю, как решить проблему. Warning: A non-numeric value encountered in .../system/storage/modification/admin/controller/sale/order.php on line 2036 На этих строках следующие данные: Quote public function history() { $this->load->language('sale/order'); Link to comment Share on other sites More sharing options... 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 More sharing options... Followers 2 Go to topic listing Similar Content A non-numeric value encountered in - как с этим бороться? By wwizard, October 11, 2020 5 replies 1,142 views smartif January 3 ошибки seo_pro By maugli, April 27, 2012 15 replies 3,260 views sasha3337774 June 11 ОШИБКА " Trying to access array offset on value of type int " By Teapot, March 9 6 replies 435 views Tom March 9 Подскажите как убрать ошибку By Ch0oJoy, Saturday at 06:46 PM 8 replies 110 views halfhope Saturday at 08:40 PM Исправить ошибку на сайте By avado24, Friday at 02:29 PM 2 replies 102 views avado24 Friday at 05:56 PM Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 2.x Opencart 2.x: General questions Ошибка A non-numeric value Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Обновление курса валют Приватбанк, Монобанк, НБУ для Opencart/Ocstore By bogdan281989 Deluxe - адаптивный, универсальный шаблон By aridius Кнопка view в списках (товар, категория, производитель, статья) By chukcha Автоматическое заполнение URL для 4.0 By chukcha Шаблон Nice (Free Edition) для OpenCart 3 By SergeTkach
AlexDW Posted September 3, 2018 Share Posted September 3, 2018 12 минут назад, maiki сказал: отсюда admin/controller/sale/order.php а толку? если показывает ошибку в файле из кеша модификаторов 6 часов назад, maiki сказал: system/storage/modification/admin/controller/sale/order.php on line 72 то из него и нужно Link to comment Share on other sites More sharing options... maiki Posted September 4, 2018 Author Share Posted September 4, 2018 17 часов назад, AlexDW сказал: а толку? если показывает ошибку в файле из кеша модификаторов то из него и нужно Точно! НЕ ОБРАТИЛ ВНИМАНИЕ Вот этот код из Модификатора if ($res < 0) { 72 строка - $json['error']['order_status_id'] = $this->language->get('error_order_status_not_found') + $res; } else { $json['background_color'] = $res[0]['row_color']; $json['color_text'] = $res[0]['row_color_text']; } } $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode($json)); } Link to comment Share on other sites More sharing options... AlexDW Posted September 4, 2018 Share Posted September 4, 2018 http://php.net/manual/ru/migration71.other-changes.php пробуйте + (int)$res; самое логичное - обратиться к автору данного кода Link to comment Share on other sites More sharing options... 1 year later... Minada Posted July 4, 2020 Share Posted July 4, 2020 И у меня аналогичная проблема, когда открываю Список доставки из админки по заказу. Не понимаю, как решить проблему. Warning: A non-numeric value encountered in .../system/storage/modification/admin/controller/sale/order.php on line 2036 На этих строках следующие данные: Quote public function history() { $this->load->language('sale/order'); Link to comment Share on other sites More sharing options... 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 More sharing options... Followers 2 Go to topic listing Similar Content A non-numeric value encountered in - как с этим бороться? By wwizard, October 11, 2020 5 replies 1,142 views smartif January 3 ошибки seo_pro By maugli, April 27, 2012 15 replies 3,260 views sasha3337774 June 11 ОШИБКА " Trying to access array offset on value of type int " By Teapot, March 9 6 replies 435 views Tom March 9 Подскажите как убрать ошибку By Ch0oJoy, Saturday at 06:46 PM 8 replies 110 views halfhope Saturday at 08:40 PM Исправить ошибку на сайте By avado24, Friday at 02:29 PM 2 replies 102 views avado24 Friday at 05:56 PM Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 2.x Opencart 2.x: General questions Ошибка A non-numeric value
maiki Posted September 4, 2018 Author Share Posted September 4, 2018 17 часов назад, AlexDW сказал: а толку? если показывает ошибку в файле из кеша модификаторов то из него и нужно Точно! НЕ ОБРАТИЛ ВНИМАНИЕ Вот этот код из Модификатора if ($res < 0) { 72 строка - $json['error']['order_status_id'] = $this->language->get('error_order_status_not_found') + $res; } else { $json['background_color'] = $res[0]['row_color']; $json['color_text'] = $res[0]['row_color_text']; } } $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode($json)); } Link to comment Share on other sites More sharing options... AlexDW Posted September 4, 2018 Share Posted September 4, 2018 http://php.net/manual/ru/migration71.other-changes.php пробуйте + (int)$res; самое логичное - обратиться к автору данного кода Link to comment Share on other sites More sharing options... 1 year later... Minada Posted July 4, 2020 Share Posted July 4, 2020 И у меня аналогичная проблема, когда открываю Список доставки из админки по заказу. Не понимаю, как решить проблему. Warning: A non-numeric value encountered in .../system/storage/modification/admin/controller/sale/order.php on line 2036 На этих строках следующие данные: Quote public function history() { $this->load->language('sale/order'); Link to comment Share on other sites More sharing options... 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 More sharing options... Followers 2 Go to topic listing Similar Content A non-numeric value encountered in - как с этим бороться? By wwizard, October 11, 2020 5 replies 1,142 views smartif January 3 ошибки seo_pro By maugli, April 27, 2012 15 replies 3,260 views sasha3337774 June 11 ОШИБКА " Trying to access array offset on value of type int " By Teapot, March 9 6 replies 435 views Tom March 9 Подскажите как убрать ошибку By Ch0oJoy, Saturday at 06:46 PM 8 replies 110 views halfhope Saturday at 08:40 PM Исправить ошибку на сайте By avado24, Friday at 02:29 PM 2 replies 102 views avado24 Friday at 05:56 PM Recently Browsing 0 members No registered users viewing this page.
AlexDW Posted September 4, 2018 Share Posted September 4, 2018 http://php.net/manual/ru/migration71.other-changes.php пробуйте + (int)$res; самое логичное - обратиться к автору данного кода Link to comment Share on other sites More sharing options... 1 year later... Minada Posted July 4, 2020 Share Posted July 4, 2020 И у меня аналогичная проблема, когда открываю Список доставки из админки по заказу. Не понимаю, как решить проблему. Warning: A non-numeric value encountered in .../system/storage/modification/admin/controller/sale/order.php on line 2036 На этих строках следующие данные: Quote public function history() { $this->load->language('sale/order'); Link to comment Share on other sites More sharing options... 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 More sharing options... Followers 2
Minada Posted July 4, 2020 Share Posted July 4, 2020 И у меня аналогичная проблема, когда открываю Список доставки из админки по заказу. Не понимаю, как решить проблему. Warning: A non-numeric value encountered in .../system/storage/modification/admin/controller/sale/order.php on line 2036 На этих строках следующие данные: Quote public function history() { $this->load->language('sale/order'); Link to comment Share on other sites More sharing options...
Recommended Posts