COVID2019 и это вот все. Друзья, вся эта история начинает плохо пахнет. Мойте руки, не ходите в люди. Отложите все плановые покупки и положите в носок заначку. Заприте ваших родителей, бабушек-дедушек на даче. Лучше перебдеть чем недобдеть. Берегите себя!

artlabor

Соучастники
  • Публикации

    1
  • Зарегистрирован

  • Посещение

artlabor's Achievements

  1. Добрый день! Opencart 2.3.0.2 Шаблон Corsica  На странице товара получаю ошибку: Notice: Undefined offset: 5 in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Warning: Invalid argument supplied for foreach() in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Notice: Undefined offset: 6 in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Warning: Invalid argument supplied for foreach() in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Notice: Undefined offset: 7 in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Warning: Invalid argument supplied for foreach() in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Notice: Undefined offset: 8 in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Warning: Invalid argument supplied for foreach() in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Notice: Undefined offset: 9 in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Warning: Invalid argument supplied for foreach() in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Notice: Undefined offset: 10 in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Warning: Invalid argument supplied for foreach() in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Notice: Undefined offset: 11 in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Warning: Invalid argument supplied for foreach() in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Notice: Undefined offset: 4 in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Warning: Invalid argument supplied for foreach() in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Notice: Undefined offset: 3 in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Warning: Invalid argument supplied for foreach() in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Notice: Undefined offset: 1 in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Warning: Invalid argument supplied for foreach() in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Notice: Undefined offset: 2 in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466Warning: Invalid argument supplied for foreach() in /мойсайт/system/storage/modification/catalog/controller/product/product.php on line 466 Посмотрел код файла product.php, перед 466 строкой такой код: $data['tags'] = array(); if ($product_info['tag']) { $tags = explode(',', $product_info['tag']); foreach ($tags as $tag) { $data['tags'][] = array( 'tag' => trim($tag), 'href' => $this->url->link('product/search', 'tag=' . trim($tag)) ); } } При добавлении в корзину во всплывающем окне получаю ошибку:  SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data OK <b>Notice</b>: Undefined index: unit_id in <b>/мойсайт/system/storage/modification/catalog/controller/checkout/cart.php</b> on line <b>363</b><br /> <b>Fatal error</b>: Uncaught exception 'Exception' with message 'Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1&lt;br /&gt;Error No: 1064&lt;br /&gt;INSERT oc_cart SET api_id = '0', customer_id = '0', session_id = 'cbb25160793841e92ae50bc302367c35', product_id = '40', recurring_id = '0', `option` = '[]', quantity = '1', date_added = NOW(), unit_id = ' in /мойсайт/system/library/db/mysqli.php:40 Stack trace: #0 /мойсайт/system/library/db.php(16): DB\MySQLi-&gt;query('INSERT oc_cart ...', Array) #1 /мойсайт/system/storage/modification/system/library/cart/cart.php(277): DB-&gt;query('INSERT oc_cart ...') #2 /мойсайт/system/storage/modification/catalog/controller/checkout/cart.php(363): Cart\Cart-&gt;add('40', 1, Array, 0, NULL) #3 [internal function]: ControllerCheckou in <b>/мойсайт/system/library/db/mysqli.php</b> on line <b>40</b><br /> Пожалуйста, помогите решить проблему!!!!