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

#   error after update to 2.0

##

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

Less More

- Posts: 86
- Thank you received: 2
-
-

14 years 1 day ago [\#76093](#76093) by [scharfet](/forum/user/3989-scharfet "View scharfet's Profile")  *[error after update to 2.0](/forum/3-bug-report/75720-error-after-update-to-2-0#76093 "Hello,  after updating to 2.0 I got this error  Regards,")* was created by *[scharfet](/forum/user/3989-scharfet "View scharfet's Profile")*

Hello,

after updating to 2.0 I got this error

[ ![&#91;img](http://www.estudiohr.com/zzz/screenshot.png) ](http://www.estudiohr.com/zzz/screenshot.png "&#91;img")

Regards,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NTcyMC1lcnJvci1hZnRlci11cGRhdGUtdG8tMi0wP3RtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

14 years 1 day ago [\#76101](#76101) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[error after update to 2.0](/forum/3-bug-report/75720-error-after-update-to-2-0#76101 "Hello,  after updating to 2.0 I got this error  Regards,")*

Hi,

Please edit the class product file and change the line Code:

$keys[] = array();

By Code:

$keys = array();

(around line 563).

The modification would be include in the next package upload.

Thanks,

---

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

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

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

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

Less More

- Posts: 86
- Thank you received: 2
-
-

14 years 1 day ago -  14 years 1 day ago [\#76109](#76109) by [scharfet](/forum/user/3989-scharfet "View scharfet's Profile")  Replied by *[scharfet](/forum/user/3989-scharfet "View scharfet's Profile")* on topic *[error after update to 2.0](/forum/3-bug-report/75720-error-after-update-to-2-0#76109 "Hello,  after updating to 2.0 I got this error  Regards,")*

I did the change you indicated (line 565), but error still appears.

Then I looked for the same code-string, and fount it in line 667. I tried to change this line in the same way, but without success.

My error messge talks about errors in the lines 593 and 625. /administrator/components/com_hikashop/classes/product.php
In line 593 I found this code Code:

$product_code = $element-&gt;product_code.'_'.implode('_',$key);

In line 625 I have this code Code:

foreach($codes[$obj-&gt;product_code] as $k){

Thank you!

Last edit: 14 years 1 day ago by [scharfet](/forum/user/3989-scharfet "View scharfet's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NTcyMC1lcnJvci1hZnRlci11cGRhdGUtdG8tMi0wP3RtcGw9bWFya2Rvd24=) 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: 86541
- Thank you received: 14304
-
-

14 years 18 hours ago [\#76186](#76186) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[error after update to 2.0](/forum/3-bug-report/75720-error-after-update-to-2-0#76186 "Hello,  after updating to 2.0 I got this error  Regards,")*

Can you also try to change the line:
$product_code = $element-&gt;product_code.'_'.implode('_',$key);

to:
$product_code = $element-&gt;product_code.'_'.@implode('_',$key);

in the same file ?

That should remove these errors.

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

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

Less More

- Posts: 86
- Thank you received: 2
-
-

14 years 18 hours ago [\#76196](#76196) by [scharfet](/forum/user/3989-scharfet "View scharfet's Profile")  Replied by *[scharfet](/forum/user/3989-scharfet "View scharfet's Profile")* on topic *[error after update to 2.0](/forum/3-bug-report/75720-error-after-update-to-2-0#76196 "Hello,  after updating to 2.0 I got this error  Regards,")*

Now it is working!
Thank you!!!

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

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

Less More

- Posts: 86
- Thank you received: 2
-
-

14 years 14 hours ago [\#76244](#76244) by [scharfet](/forum/user/3989-scharfet "View scharfet's Profile")  Replied by *[scharfet](/forum/user/3989-scharfet "View scharfet's Profile")* on topic *[error after update to 2.0](/forum/3-bug-report/75720-error-after-update-to-2-0#76244 "Hello,  after updating to 2.0 I got this error  Regards,")*

Now it is working!
Thank you!!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NTcyMC1lcnJvci1hZnRlci11cGRhdGUtdG8tMi0wP3RtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

14 years 14 hours ago [\#76246](#76246) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[error after update to 2.0](/forum/3-bug-report/75720-error-after-update-to-2-0#76246 "Hello,  after updating to 2.0 I got this error  Regards,")*

Hi,

Nicolas has implement a new algorithm for the product characteristics.
The next package would fix all problems in this function.

Regards,

---

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

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

- **[spoonbow](/forum/user/6067-spoonbow "View spoonbow's Profile")**
- [![spoonbow's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6067.gif)](/forum/user/6067-spoonbow "View spoonbow's Profile")
- [ Offline](/forum/user/6067-spoonbow)

Less More

- Posts: 42
- Thank you received: 2
-
-
-
-

14 years 11 hours ago [\#76268](#76268) by [spoonbow](/forum/user/6067-spoonbow "View spoonbow's Profile")  Replied by *[spoonbow](/forum/user/6067-spoonbow "View spoonbow's Profile")* on topic *[error after update to 2.0](/forum/3-bug-report/75720-error-after-update-to-2-0#76268 "Hello,  after updating to 2.0 I got this error  Regards,")*

Just to clarify - Has this fix been implemented in the current package, or do we need to wait for a new package to be posted?

Thanks
Matt

---

It's amazing how the omission of a semicolon can absolutely ruin an otherwise pleasant evening.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NTcyMC1lcnJvci1hZnRlci11cGRhdGUtdG8tMi0wP3RtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

14 years 11 hours ago [\#76271](#76271) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[error after update to 2.0](/forum/3-bug-report/75720-error-after-update-to-2-0#76271 "Hello,  after updating to 2.0 I got this error  Regards,")*

Hi,

I have update the HikaShop 2.0 package.
You can re-download HikaShop to fix this problem.

Best regards,

---

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

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

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

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