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

Ошибка system/storage/modification/catalog/model/checkout/order.php on line 648


 Share

Recommended Posts

Доброго времени суток уважаемые форумчане.  В логе есть сообщение об ошибке, визуально не заметил проблем в работе, но рас есть ошибка это не хорошо.

opencart 2.1.0.2

Прошу подсказать в чем может быть проблема и как решить.

QIP Shot - Screen 108.png

Link to comment
Share on other sites


PHP Notice:  Undefined index: stock_status in /var/www/БД/data/www/dekasport.ru/system/storage/modification/catalog/model/checkout/order.php on line 648

П.с. только товары (нету услуг) по умолчанию статус в магазине не подтвержден, после оплаты подтвержден. (2 копии модуля Оплата при доставке)

Edited by Igorewa
Link to comment
Share on other sites


Смотрите как формируется запрос в $product_info_status
Ошибка говорит о том, в массиве $product_info_status->row нет переменной stosk_status

Link to comment
Share on other sites


3 minutes ago, thentru said:

Смотрите как формируется запрос в $product_info_status
Ошибка говорит о том, в массиве $product_info_status->row нет переменной stosk_status

Не понял куда и на что смотреть?

Link to comment
Share on other sites


Про эту строку говорите?

Spoiler

$product_info_status = $this->db->query("SELECT b.* FROM " . DB_PREFIX . "product a, " . DB_PREFIX . "stock_status b WHERE a.product_id = '" . (int)$product['product_id'] . "' AND b.stock_status_id = a.stock_status_id AND b.language_id = '" . (int)$this->config->get('config_language_id') . "'");

 

Link to comment
Share on other sites


45 minutes ago, alstershopping said:

Похоже у вас статус не приходит из БД, не у всех товаров настроет статус :), или у Вас услуга в товарах прописана.

Не пойму как может не стоять статус у товара...

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.