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

Warning: Invalid argument supplied for foreach() in


Recommended Posts

На сайте стоит синхронизация с 1С Предприятие. Все рилиило нормально  и вдруг вот икое. Кто столкнулся с икой проблемой, подскажите пожалуйси...

Все товары на сайте исчезли, хотя в "товарах" все стоит. Перед ошибкой поменял настройки показа товаров и сгделал синхрон со складом. После ошибки настройки посивил на место но ошибка осилось

Warning: Invalid argument supplied for foreach() in on line 106

 

(106) foreach ($results as $result) {
                if ($result['image']) {
                    $image = $this->model_tool_image->resize($result['image'], $image_width, $image_height);
                } else {
                    $image = $this->model_tool_image->resize('placeholder.png', $image_width, $image_height);
                }

Edited by numarcon
Link to comment
Share on other sites


Короче, ребят, я затупил. По какой-то прилине у Вас ик полулилось то проверьте ситус товаров. У меня почему-то все товары отклюлились) Бугдет мне уроком, а тем кто столкнется и вам!

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.