[Skip to main content](#vessel-content)

Здесь вы можете свободно общаться на русском языке. Просим отнестись с пониманием к тому, что мы не разговариваем на этом языке и не можем осуществлять поддержку на нем.

#   Странная ошибка в файле breadcrumb.php

##

- **[tefun](/forum/user/6343-tefun "View tefun's Profile")**
- [![tefun's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6343.jpg)](/forum/user/6343-tefun "View tefun's Profile") Topic Author
- [ Offline](/forum/user/6343-tefun)

Less More

- Posts: 148
- Thank you received: 4
-
-
-
- [](http://tuzhilkin.kz)
-

14 years 4 weeks ago -  14 years 4 weeks ago [\#70839](#70839) by [tefun](/forum/user/6343-tefun "View tefun's Profile")  *[Странная ошибка в файле breadcrumb.php](/forum/11-russian/70839-strannaa-osibka-v-fajle-breadcrumb-php#70839 "Доброго дня, сегодня столкнулся с такой проблемой:  Стоит hika+joomla 2.5.7  выдает ошибку в файле breadcrumb.php hikashop  Warning: Invalid argument supplied for foreach() in Z:&#92;home&#92;abt&#92;www&#92;administrator&#92;components&#92;com&#95;hikashop&#92;types&#92;breadcrumb.php on line 17  Warning: Invalid argument supplied for foreach() in Z:&#92;home&#92;abt&#92;www&#92;administrator&#92;components&#92;com&#95;hikashop&#92;types&#92;breadcrumb.php on line 26  &#91;image&#93;  Заранее спасибо за ответы  &#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95; Добавлено  А дальше лучше  Создаю категорию, добавляю товар и вставляю в категорию, а там это  Warning: Invalid argument supplied for foreach() in Z:&#92;home&#92;abt&#92;www&#92;administrator&#92;components&#92;com&#95;hikashop&#92;views&#92;product&#92;tmpl&#92;category.php on line 46  &#91;image&#93;")* was created by *[tefun](/forum/user/6343-tefun "View tefun's Profile")*

Доброго дня,
сегодня столкнулся с такой проблемой:

Стоит hika+joomla 2.5.7

выдает ошибку в файле breadcrumb.php hikashop

Warning: Invalid argument supplied for foreach() in Z:\home\abt\www\administrator\components\com_hikashop\types\breadcrumb.php on line 17

Warning: Invalid argument supplied for foreach() in Z:\home\abt\www\administrator\components\com_hikashop\types\breadcrumb.php on line 26

[ ![&#91;IMG](http://SSmaker.ru/fc985d06.png) ](http://SSmaker.ru/)

Заранее спасибо за ответы

___________
Добавлено

А дальше лучше

Создаю категорию, добавляю товар и вставляю в категорию, а там это

Warning: Invalid argument supplied for foreach() in Z:\home\abt\www\administrator\components\com_hikashop\views\product\tmpl\category.php on line 46

[ ![&#91;IMG](http://SSmaker.ru/effbdfff.png) ](http://SSmaker.ru/)

Last edit: 14 years 4 weeks ago by [tefun](/forum/user/6343-tefun "View tefun's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vNzA4Mzktc3RyYW5uYWEtb3NpYmthLXYtZmFqbGUtYnJlYWRjcnVtYi1waHA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")**
- [![progreccor's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4816.jpg)](/forum/user/4816-progreccor "View progreccor's Profile")
- [ Offline](/forum/user/4816-progreccor "Москва")
- SEO, webdesign

Less More

- Posts: 2293
- Thank you received: 314
-
-
-
- [](http://www.d-dd.ru)
-

14 years 4 weeks ago [\#70844](#70844) by [progreccor](/forum/user/4816-progreccor "View progreccor's Profile")  Replied by *[progreccor](/forum/user/4816-progreccor "View progreccor's Profile")* on topic *[Re: Странная ошибка в файле breadcrumb.php](/forum/11-russian/70839-strannaa-osibka-v-fajle-breadcrumb-php#70844 "Доброго дня, сегодня столкнулся с такой проблемой:  Стоит hika+joomla 2.5.7  выдает ошибку в файле breadcrumb.php hikashop  Warning: Invalid argument supplied for foreach() in Z:&#92;home&#92;abt&#92;www&#92;administrator&#92;components&#92;com&#95;hikashop&#92;types&#92;breadcrumb.php on line 17  Warning: Invalid argument supplied for foreach() in Z:&#92;home&#92;abt&#92;www&#92;administrator&#92;components&#92;com&#95;hikashop&#92;types&#92;breadcrumb.php on line 26  &#91;image&#93;  Заранее спасибо за ответы  &#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95; Добавлено  А дальше лучше  Создаю категорию, добавляю товар и вставляю в категорию, а там это  Warning: Invalid argument supplied for foreach() in Z:&#92;home&#92;abt&#92;www&#92;administrator&#92;components&#92;com&#95;hikashop&#92;views&#92;product&#92;tmpl&#92;category.php on line 46  &#91;image&#93;")*

это в тему bugreports для Nicolas

---

Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vNzA4Mzktc3RyYW5uYWEtb3NpYmthLXYtZmFqbGUtYnJlYWRjcnVtYi1waHA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tefun](/forum/user/6343-tefun "View tefun's Profile")**
- [![tefun's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6343.jpg)](/forum/user/6343-tefun "View tefun's Profile") Topic Author
- [ Offline](/forum/user/6343-tefun)

Less More

- Posts: 148
- Thank you received: 4
-
-
-
- [](http://tuzhilkin.kz)
-

14 years 4 weeks ago -  14 years 4 weeks ago [\#70852](#70852) by [tefun](/forum/user/6343-tefun "View tefun's Profile")  Replied by *[tefun](/forum/user/6343-tefun "View tefun's Profile")* on topic *[Re: Странная ошибка в файле breadcrumb.php](/forum/11-russian/70839-strannaa-osibka-v-fajle-breadcrumb-php#70852 "Доброго дня, сегодня столкнулся с такой проблемой:  Стоит hika+joomla 2.5.7  выдает ошибку в файле breadcrumb.php hikashop  Warning: Invalid argument supplied for foreach() in Z:&#92;home&#92;abt&#92;www&#92;administrator&#92;components&#92;com&#95;hikashop&#92;types&#92;breadcrumb.php on line 17  Warning: Invalid argument supplied for foreach() in Z:&#92;home&#92;abt&#92;www&#92;administrator&#92;components&#92;com&#95;hikashop&#92;types&#92;breadcrumb.php on line 26  &#91;image&#93;  Заранее спасибо за ответы  &#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95; Добавлено  А дальше лучше  Создаю категорию, добавляю товар и вставляю в категорию, а там это  Warning: Invalid argument supplied for foreach() in Z:&#92;home&#92;abt&#92;www&#92;administrator&#92;components&#92;com&#95;hikashop&#92;views&#92;product&#92;tmpl&#92;category.php on line 46  &#91;image&#93;")*

> progreccor wrote: это в тему bugreports для Nicolas

ок,
хотел ему сразу написать, тк уже есть обсуждение, и решение, но на французском)))
щас на английском попробую ![B)](/media/kunena/emoticons/9.png "B)")

вот эта тема на фр
[ www.hikashop.com/en/forum/5-support-en-f...ied-for-foreach.html](http://www.hikashop.com/en/forum/5-support-en-francais-french-support-/68698-warning-invalid-argument-supplied-for-foreach.html)

а вот создал на Eng
[ www.hikashop.com/en/forum/3-bug-report/7...dcrumbphp.html#70854](http://www.hikashop.com/en/forum/3-bug-report/70854-bug-in-hikashop-16-in-breadcrumbphp.html#70854)

Last edit: 14 years 4 weeks ago by [tefun](/forum/user/6343-tefun "View tefun's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vNzA4Mzktc3RyYW5uYWEtb3NpYmthLXYtZmFqbGUtYnJlYWRjcnVtYi1waHA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tefun](/forum/user/6343-tefun "View tefun's Profile")**
- [![tefun's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6343.jpg)](/forum/user/6343-tefun "View tefun's Profile") Topic Author
- [ Offline](/forum/user/6343-tefun)

Less More

- Posts: 148
- Thank you received: 4
-
-
-
- [](http://tuzhilkin.kz)
-

14 years 4 weeks ago [\#71048](#71048) by [tefun](/forum/user/6343-tefun "View tefun's Profile")  Replied by *[tefun](/forum/user/6343-tefun "View tefun's Profile")* on topic *[Re: Странная ошибка в файле breadcrumb.php](/forum/11-russian/70839-strannaa-osibka-v-fajle-breadcrumb-php#71048 "Доброго дня, сегодня столкнулся с такой проблемой:  Стоит hika+joomla 2.5.7  выдает ошибку в файле breadcrumb.php hikashop  Warning: Invalid argument supplied for foreach() in Z:&#92;home&#92;abt&#92;www&#92;administrator&#92;components&#92;com&#95;hikashop&#92;types&#92;breadcrumb.php on line 17  Warning: Invalid argument supplied for foreach() in Z:&#92;home&#92;abt&#92;www&#92;administrator&#92;components&#92;com&#95;hikashop&#92;types&#92;breadcrumb.php on line 26  &#91;image&#93;  Заранее спасибо за ответы  &#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95;&#95; Добавлено  А дальше лучше  Создаю категорию, добавляю товар и вставляю в категорию, а там это  Warning: Invalid argument supplied for foreach() in Z:&#92;home&#92;abt&#92;www&#92;administrator&#92;components&#92;com&#95;hikashop&#92;views&#92;product&#92;tmpl&#92;category.php on line 46  &#91;image&#93;")*

Вот решение, если кто столкунулся с этим
[ www.hikashop.com/en/forum/3-bug-report/7...dcrumbphp.html#70893](http://www.hikashop.com/en/forum/3-bug-report/70854-bug-in-hikashop-16-in-breadcrumbphp.html#70893)
на англ

на русском языке:
идем в файл
administrator/components/com_hikashop/classes/category.php

и меняем
$query = 'SELECT DISTINCT b.* FROM '.hikashop_table(end($this-&gt;tables)).' AS a LEFT JOIN '.
hikashop_table(end($this-&gt;tables)).' AS b ON a.category_left &gt;= b.category_left WHERE '.
'b.category_right &gt;= a.category_right '.$and.$where.' ORDER BY b.category_left';

на
$query = 'SELECT b.* FROM '.hikashop_table(end($this-&gt;tables)).' AS a LEFT JOIN '.
hikashop_table(end($this-&gt;tables)).' AS b ON a.category_left &gt;= b.category_left WHERE '.
'b.category_right &gt;= a.category_right '.$and.$where.' GROUP BY b.category_id ORDER BY b.category_left';

это примерно 487 строка
всем удачи, надеюсь данный баг будет исправлен

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzExLXJ1c3NpYW4vNzA4Mzktc3RyYW5uYWEtb3NpYmthLXYtZmFqbGUtYnJlYWRjcnVtYi1waHA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [progreccor](/forum/user/4816-progreccor "View progreccor's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.063 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
