Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Notice: Undefined index: product_option_value_id in


dima63631b
 Share

Recommended Posts

Ребят sos.
При создании нового товара во вкладке "Изображения", когда добавляю второе и последуюещёе изображение и нажимаю "Сохранить", выдает ошибку...

Notice: Undefined index: product_option_value_id in /home/a/autodent/ava-car/storage/modification/admin/model/catalog/product.php on line 109Warning: Cannot modify header information - headers already sent by (output started at /home/a/autodent/ava-car/public_html/admin/controller/startup/error.php:34) in /home/a/autodent/ava-car/public_html/system/library/response.php on line 36

Как решить проблему?

Строка 109
                   $this->db->query("INSERT INTO " . DB_PREFIX . "product_image SET product_id = '" . (int)$product_id . "', image = '" . $this->db->escape($product_image['image']) . "', sort_order = '" . (int)$product_image['sort_order'] . "', is_rotator = '" . (int)$product_image['is_rotator'] . "', product_option_value_id = '" . (int)$product_image['product_option_value_id'] . "'");

Link to comment
Share on other sites


Какие то проблемы с опциями.. Проверьте опции...

Link to comment
Share on other sites


17 минут назад, nikoshot сказал:

Какие то проблемы с опциями.. Проверьте опции...

Врогде ничего икого не наблюдаю - в товарах их вообещё не добавляем.

Link to comment
Share on other sites


16 минут назад, dima63631b сказал:

Может их удалить вообещё все?

Попробуйте.. если не удалятся.. зналит в каком то твоаре они есть...

Link to comment
Share on other sites


15 минут назад, nikoshot сказал:

Попробуйте.. если не удалятся.. зналит в каком то твоаре они есть...

Не помогло к сожнонию(((

Link to comment
Share on other sites


ищите модификаторы, которые вносят правки в admin/model/catalog/product.php

отключайте по очереди и проверяйте

после отключения какого зарилииет - к его автору с вопросом

Link to comment
Share on other sites

31 минуту назад, dima63631b сказал:

Ничего не помогло, может кто за потому чтонус готов помочь?

Даже затрудняюсь предсивить, что за потому чтонусы вы предлагаете :D
Могу просто ик попропотому чтовать помочь, судя по запросу, у вас проблемы с модулем, добавляюещём свои картинки для опций товара. Его отключайте и ремонтируйте

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.