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

#   Error in product variants after import csv

##

- **[paulo25ci](/forum/user/47563-paulo25ci "View paulo25ci's Profile")**
- [![paulo25ci's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/47563-paulo25ci "View paulo25ci's Profile") Topic Author
- [ Offline](/forum/user/47563-paulo25ci)

Less More

- Posts: 20
- Thank you received: 0
-
-

9 years 9 months ago [\#262610](#262610) by [paulo25ci](/forum/user/47563-paulo25ci "View paulo25ci's Profile")  *[Error in product variants after import csv](/forum/37-import-export-csv-xls/888901-error-in-product-variants-after-import-csv#262610 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : Joomla! 3.6.5 Stable -- PHP version -- : 5.6.28  hello  From the backend, we haver the following error in a product page when import variants csv.  Warning: ksort() expects parameter 1 to be array, null given in /home/xxxxxxxx/public&#95;html/administrator/components/com&#95;hikashop/views/product/view.html.php on line 1896.  I attached the screenshot and the csv file.")* was created by *[paulo25ci](/forum/user/47563-paulo25ci "View paulo25ci's Profile")*

-- HikaShop version -- : 3.0.0
-- Joomla version -- : Joomla! 3.6.5 Stable
-- PHP version -- : 5.6.28

hello

From the backend, we haver the following error in a product page when import variants csv.

Warning: ksort() expects parameter 1 to be array, null given in /home/xxxxxxxx/public_html/administrator/components/com_hikashop/views/product/view.html.php on line 1896.

I attached the screenshot and the csv file.

*This attachment is hidden for guests.
Please log in or register to see it.*

[ ![hikashop&#95;2017-02-16.PNG](/forum/attachment/36389) ](/forum/attachment/36389 "...2017-02-16.PNG")

- [ ![hikashop&#95;2017-02-16.PNG](/forum/attachment/36389) ](/forum/attachment/36389 "...2017-02-16.PNG") [ ](/forum/attachment/36389?download=1 "...2017-02-16.PNG")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

9 years 9 months ago [\#262649](#262649) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error in product variants after import csv](/forum/37-import-export-csv-xls/888901-error-in-product-variants-after-import-csv#262649 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : Joomla! 3.6.5 Stable -- PHP version -- : 5.6.28  hello  From the backend, we haver the following error in a product page when import variants csv.  Warning: ksort() expects parameter 1 to be array, null given in /home/xxxxxxxx/public&#95;html/administrator/components/com&#95;hikashop/views/product/view.html.php on line 1896.  I attached the screenshot and the csv file.")*

Hi,

Did you all all the values used in your CSV in that "Croatia" characteristic before the import ?
This error would happen if some of the values were missing from the characteristic you're using (the ones you don't see on your variants listing screenshot).
Could you provide a screenshot of the characteristic settings ?

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

- **[paulo25ci](/forum/user/47563-paulo25ci "View paulo25ci's Profile")**
- [![paulo25ci's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/47563-paulo25ci "View paulo25ci's Profile") Topic Author
- [ Offline](/forum/user/47563-paulo25ci)

Less More

- Posts: 20
- Thank you received: 0
-
-

9 years 9 months ago [\#262654](#262654) by [paulo25ci](/forum/user/47563-paulo25ci "View paulo25ci's Profile")  Replied by *[paulo25ci](/forum/user/47563-paulo25ci "View paulo25ci's Profile")* on topic *[Error in product variants after import csv](/forum/37-import-export-csv-xls/888901-error-in-product-variants-after-import-csv#262654 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : Joomla! 3.6.5 Stable -- PHP version -- : 5.6.28  hello  From the backend, we haver the following error in a product page when import variants csv.  Warning: ksort() expects parameter 1 to be array, null given in /home/xxxxxxxx/public&#95;html/administrator/components/com&#95;hikashop/views/product/view.html.php on line 1896.  I attached the screenshot and the csv file.")*

Hello,

Yes, i had all the values used in my CSV in Croatia characteristic before the import.
I send you attached the characteristic screenshot.

[ ![hikashop2&#95;2017-02-17.PNG](/forum/attachment/36403) ](/forum/attachment/36403 "...2017-02-17.PNG")

- [ ![hikashop2&#95;2017-02-17.PNG](/forum/attachment/36403) ](/forum/attachment/36403 "...2017-02-17.PNG") [ ](/forum/attachment/36403?download=1 "...2017-02-17.PNG")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

9 years 9 months ago [\#262665](#262665) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error in product variants after import csv](/forum/37-import-export-csv-xls/888901-error-in-product-variants-after-import-csv#262665 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : Joomla! 3.6.5 Stable -- PHP version -- : 5.6.28  hello  From the backend, we haver the following error in a product page when import variants csv.  Warning: ksort() expects parameter 1 to be array, null given in /home/xxxxxxxx/public&#95;html/administrator/components/com&#95;hikashop/views/product/view.html.php on line 1896.  I attached the screenshot and the csv file.")*

Hi,

Can you check that they are exactly the same ? No extra space at the end, or double space in the middle, etc ?

The following user(s) said Thank You: [paulo25ci](/forum/user/47563-paulo25ci "View paulo25ci's Profile")

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

- **[paulo25ci](/forum/user/47563-paulo25ci "View paulo25ci's Profile")**
- [![paulo25ci's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/47563-paulo25ci "View paulo25ci's Profile") Topic Author
- [ Offline](/forum/user/47563-paulo25ci)

Less More

- Posts: 20
- Thank you received: 0
-
-

9 years 8 months ago [\#265378](#265378) by [paulo25ci](/forum/user/47563-paulo25ci "View paulo25ci's Profile")  Replied by *[paulo25ci](/forum/user/47563-paulo25ci "View paulo25ci's Profile")* on topic *[Error in product variants after import csv](/forum/37-import-export-csv-xls/888901-error-in-product-variants-after-import-csv#265378 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : Joomla! 3.6.5 Stable -- PHP version -- : 5.6.28  hello  From the backend, we haver the following error in a product page when import variants csv.  Warning: ksort() expects parameter 1 to be array, null given in /home/xxxxxxxx/public&#95;html/administrator/components/com&#95;hikashop/views/product/view.html.php on line 1896.  I attached the screenshot and the csv file.")*

Issue Solved.

Thx for all.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODg5MDEtZXJyb3ItaW4tcHJvZHVjdC12YXJpYW50cy1hZnRlci1pbXBvcnQtY3N2P3RtcGw9bWFya2Rvd24=) 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.070 seconds

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