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

#   Variant Error After Upgrade to 2.1.0

##

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

Less More

- Posts: 69
- Thank you received: 1
-
-

13 years 9 months ago [\#89942](#89942) by [BasketBox](/forum/user/11810-basketbox "View BasketBox's Profile")  *[Variant Error After Upgrade to 2.1.0](/forum/3-bug-report/78341-variant-error-after-upgrade-to-2-1-0#89942 "I'm getting this error on product detail page when selecting product variant after upgrade to 2.1.0:  Notice: Undefined property: hikashopImageHelper::$image in /home/basket/public&#95;html/administrator/components/com&#95;hikashop/helpers/image.php on line 234")* was created by *[BasketBox](/forum/user/11810-basketbox "View BasketBox's Profile")*

I'm getting this error on product detail page when selecting product variant after upgrade to 2.1.0:

Notice: Undefined property: hikashopImageHelper::$image in /home/basket/public_html/administrator/components/com_hikashop/helpers/image.php on line 234

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

13 years 9 months ago [\#89946](#89946) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Variant Error After Upgrade to 2.1.0](/forum/3-bug-report/78341-variant-error-after-upgrade-to-2-1-0#89946 "I'm getting this error on product detail page when selecting product variant after upgrade to 2.1.0:  Notice: Undefined property: hikashopImageHelper::$image in /home/basket/public&#95;html/administrator/components/com&#95;hikashop/helpers/image.php on line 234")*

Hi,

Please edit the file "administrator/components/com_hikashop/helpers/image.php" and replace the line Code:

$width=$this-&gt;image-&gt;main_thumbnail_x;

By: Code:

$width=$this-&gt;main_thumbnail_x;

And the line Code:

$height=$this-&gt;image-&gt;main_thumbnail_y;

By: Code:

$height=$this-&gt;main_thumbnail_y;

It would be fixed in the next release.

Regards,

---

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

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

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

Less More

- Posts: 69
- Thank you received: 1
-
-

13 years 9 months ago [\#89947](#89947) by [BasketBox](/forum/user/11810-basketbox "View BasketBox's Profile")  Replied by *[BasketBox](/forum/user/11810-basketbox "View BasketBox's Profile")* on topic *[Variant Error After Upgrade to 2.1.0](/forum/3-bug-report/78341-variant-error-after-upgrade-to-2-1-0#89947 "I'm getting this error on product detail page when selecting product variant after upgrade to 2.1.0:  Notice: Undefined property: hikashopImageHelper::$image in /home/basket/public&#95;html/administrator/components/com&#95;hikashop/helpers/image.php on line 234")*

Yes, that fixed it. Thanks

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

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