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

#   Cannot select categories on product view

##

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

Less More

- Posts: 209
- Thank you received: 14
-
-
-
- [](http://www.r2h.nl)
-

10 years 1 month ago -  10 years 1 month ago [\#251803](#251803) by [Rixters](/forum/user/28762-rixters "View Rixters's Profile")  *[Cannot select categories on product view](/forum/32-content-creation/886801-cannot-select-categories-on-product-view#251803 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6 -- Browser(s) name and version -- : FF  I've created a couple of categories. Bur when I create an article I can only select the product root folder. Al the other categories will not show up. In the inspection windows I see an error probably related to this problem. On the product windows screenshot I also included the inspector view. I hope you can provide me with a solution...!")* was created by *[Rixters](/forum/user/28762-rixters "View Rixters's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6
-- Browser(s) name and version -- : FF

I've created a couple of categories. Bur when I create an article I can only select the product root folder. Al the other categories will not show up. In the inspection windows I see an error probably related to this problem. On the product windows screenshot I also included the inspector view. I hope you can provide me with a solution...!

[ ![product-view.jpg](/forum/attachment/33837) ](/forum/attachment/33837 "product-view.jpg")

[ ![category-view.jpg](/forum/attachment/33838) ](/forum/attachment/33838 "category-view.jpg")

- [ ![product-view.jpg](/forum/attachment/33837) ](/forum/attachment/33837 "product-view.jpg") [ ](/forum/attachment/33837?download=1 "product-view.jpg")
- [ ![category-view.jpg](/forum/attachment/33838) ](/forum/attachment/33838 "category-view.jpg") [ ](/forum/attachment/33838?download=1 "category-view.jpg")

Last edit: 10 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: removing confidential information

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 1 month ago [\#251856](#251856) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Cannot select categories on product view](/forum/32-content-creation/886801-cannot-select-categories-on-product-view#251856 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6 -- Browser(s) name and version -- : FF  I've created a couple of categories. Bur when I create an article I can only select the product root folder. Al the other categories will not show up. In the inspection windows I see an error probably related to this problem. On the product windows screenshot I also included the inspector view. I hope you can provide me with a solution...!")*

Hi,

If you take a look at your browser console, you can see the result of the ajax calls.
I don't know why your server display warning messages, but that warning is displayed at the beginning of the JSON : Code:

Notice: ob_end_clean(): failed to delete buffer. No buffer to delete in ****/administrator/components/com_hikashop/helpers/helper.php on line 1315

That's why the javascript cannot decode the json and do not display the sub categories.

To fix the warning (patch already ready in HikaShop), you can replace in the line 1315 of your HikaShop helper Code:

ob_end_clean();

By Code:

@ob_end_clean();

But I will also recommend you to not display PHP warning in your webpages.
The display of such information should be done only under development context. It is more than recommend to turn it off for production websites.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 209
- Thank you received: 14
-
-
-
- [](http://www.r2h.nl)
-

10 years 1 month ago [\#251873](#251873) by [Rixters](/forum/user/28762-rixters "View Rixters's Profile")  Replied by *[Rixters](/forum/user/28762-rixters "View Rixters's Profile")* on topic *[Cannot select categories on product view](/forum/32-content-creation/886801-cannot-select-categories-on-product-view#251873 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6 -- Browser(s) name and version -- : FF  I've created a couple of categories. Bur when I create an article I can only select the product root folder. Al the other categories will not show up. In the inspection windows I see an error probably related to this problem. On the product windows screenshot I also included the inspector view. I hope you can provide me with a solution...!")*

Thanks for the support! Problem solved!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg2ODAxLWNhbm5vdC1zZWxlY3QtY2F0ZWdvcmllcy1vbi1wcm9kdWN0LXZpZXc/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?

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

Time to create page: 0.062 seconds

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