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

#   Carousel Error Message

##

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

Less More

- Posts: 35
- Thank you received: 2
-
-

13 years 11 months ago -  13 years 11 months ago [\#79517](#79517) by [dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")  *[Carousel Error Message](/forum/2-general-talk-about-hikashop/76287-carousel-error-message#79517 "(I apologize, but I posted this in the wrong area. It was meant for the error/bug section.)  Dear Hikashop,  I get the following:  Fatal error: Call to a member function scaleImage() on a non-object in /home/content/08/8890808/html/components/com&#95;hikashop/views/product/tmpl/carousel.php on line 47  I have never modified carousel.php in any way. Attached is the setup I tried:    imgur.com/z5lX4  It seems to be a problem with the &quot;thumbnail&quot; function. Thank you. Carey")* was created by *[dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")*

(I apologize, but I posted this in the wrong area. It was meant for the error/bug section.)

Dear Hikashop,

I get the following:

Fatal error: Call to a member function scaleImage() on a non-object in /home/content/08/8890808/html/components/com_hikashop/views/product/tmpl/carousel.php on line 47

I have never modified carousel.php in any way. Attached is the setup I tried:

[ imgur.com/z5lX4](http://imgur.com/z5lX4)

It seems to be a problem with the "thumbnail" function.
Thank you.
Carey

Last edit: 13 years 11 months ago by [dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2Mjg3LWNhcm91c2VsLWVycm9yLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 11 months ago [\#79539](#79539) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Carousel Error Message](/forum/2-general-talk-about-hikashop/76287-carousel-error-message#79539 "(I apologize, but I posted this in the wrong area. It was meant for the error/bug section.)  Dear Hikashop,  I get the following:  Fatal error: Call to a member function scaleImage() on a non-object in /home/content/08/8890808/html/components/com&#95;hikashop/views/product/tmpl/carousel.php on line 47  I have never modified carousel.php in any way. Attached is the setup I tried:    imgur.com/z5lX4  It seems to be a problem with the &quot;thumbnail&quot; function. Thank you. Carey")*

Hi,

Please add the line in the product/tmpl/carousel.php file Code:

$thnumbnailWidth=$this-&gt;params-&gt;get('pagination_image_width'); $imageHelper = hikashop_get('helper.image'); if(empty($thnumbnailWidth) &amp;&amp; empty($thnumbnailHeight)){

It would be fix in the next release of HikaShop.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2Mjg3LWNhcm91c2VsLWVycm9yLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 35
- Thank you received: 2
-
-

13 years 11 months ago -  13 years 11 months ago [\#79545](#79545) by [dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")  Replied by *[dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")* on topic *[Carousel Error Message](/forum/2-general-talk-about-hikashop/76287-carousel-error-message#79545 "(I apologize, but I posted this in the wrong area. It was meant for the error/bug section.)  Dear Hikashop,  I get the following:  Fatal error: Call to a member function scaleImage() on a non-object in /home/content/08/8890808/html/components/com&#95;hikashop/views/product/tmpl/carousel.php on line 47  I have never modified carousel.php in any way. Attached is the setup I tried:    imgur.com/z5lX4  It seems to be a problem with the &quot;thumbnail&quot; function. Thank you. Carey")*

I have overwritten what was similar text in the php file. I Am no longer getting error messages; however, clicking on the thumbnails does not change the items. When set to "dots," clicking does properly change them. Further, the auto slide properly scrolls through the items. But clicking the thumbnail does nothing. Please advise! thank you.

Last edit: 13 years 11 months ago by [dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2Mjg3LWNhcm91c2VsLWVycm9yLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 11 months ago [\#79546](#79546) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Carousel Error Message](/forum/2-general-talk-about-hikashop/76287-carousel-error-message#79546 "(I apologize, but I posted this in the wrong area. It was meant for the error/bug section.)  Dear Hikashop,  I get the following:  Fatal error: Call to a member function scaleImage() on a non-object in /home/content/08/8890808/html/components/com&#95;hikashop/views/product/tmpl/carousel.php on line 47  I have never modified carousel.php in any way. Attached is the setup I tried:    imgur.com/z5lX4  It seems to be a problem with the &quot;thumbnail&quot; function. Thank you. Carey")*

Hi,

You have to add the second line. The first and the third line already exist in the file (some lines before the line 47).

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2Mjg3LWNhcm91c2VsLWVycm9yLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 35
- Thank you received: 2
-
-

13 years 11 months ago [\#79551](#79551) by [dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")  Replied by *[dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")* on topic *[Carousel Error Message](/forum/2-general-talk-about-hikashop/76287-carousel-error-message#79551 "(I apologize, but I posted this in the wrong area. It was meant for the error/bug section.)  Dear Hikashop,  I get the following:  Fatal error: Call to a member function scaleImage() on a non-object in /home/content/08/8890808/html/components/com&#95;hikashop/views/product/tmpl/carousel.php on line 47  I have never modified carousel.php in any way. Attached is the setup I tried:    imgur.com/z5lX4  It seems to be a problem with the &quot;thumbnail&quot; function. Thank you. Carey")*

Thanks Jerome, I actually did it correctly right after I made my last post, and then edited it to reflect the new problem. Please read above. Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2Mjg3LWNhcm91c2VsLWVycm9yLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14279
-
-

13 years 11 months ago [\#79707](#79707) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Carousel Error Message](/forum/2-general-talk-about-hikashop/76287-carousel-error-message#79707 "(I apologize, but I posted this in the wrong area. It was meant for the error/bug section.)  Dear Hikashop,  I get the following:  Fatal error: Call to a member function scaleImage() on a non-object in /home/content/08/8890808/html/components/com&#95;hikashop/views/product/tmpl/carousel.php on line 47  I have never modified carousel.php in any way. Attached is the setup I tried:    imgur.com/z5lX4  It seems to be a problem with the &quot;thumbnail&quot; function. Thank you. Carey")*

Can you give a screenshot of the hikashop options of your products listing and a link to the page where you're displaying it so that we can see what's going on ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2Mjg3LWNhcm91c2VsLWVycm9yLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 35
- Thank you received: 2
-
-

13 years 11 months ago [\#79712](#79712) by [dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")  Replied by *[dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")* on topic *[Carousel Error Message](/forum/2-general-talk-about-hikashop/76287-carousel-error-message#79712 "(I apologize, but I posted this in the wrong area. It was meant for the error/bug section.)  Dear Hikashop,  I get the following:  Fatal error: Call to a member function scaleImage() on a non-object in /home/content/08/8890808/html/components/com&#95;hikashop/views/product/tmpl/carousel.php on line 47  I have never modified carousel.php in any way. Attached is the setup I tried:    imgur.com/z5lX4  It seems to be a problem with the &quot;thumbnail&quot; function. Thank you. Carey")*

Screenshot here:
[ imgur.com/aOkzY](http://imgur.com/aOkzY)

Page is at:
[ www.retreatwell.com/component/hikashop/product/18-sarah-kline](http://www.retreatwell.com/component/hikashop/product/18-sarah-kline)

I wasn't sure if this thread was going to be responded to anymore, since it was in the wrong place, so I started a thread in the bug section. I am sorry that there are now 2 duplicate posts. Feel free to delete one. The other is at:
[ www.hikashop.com/en/forum/3-bug-report/7...-carousel.html#79700](http://www.hikashop.com/en/forum/3-bug-report/76318-thumbnails-not-working-on-carousel.html#79700)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2Mjg3LWNhcm91c2VsLWVycm9yLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 11 months ago [\#80026](#80026) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Carousel Error Message](/forum/2-general-talk-about-hikashop/76287-carousel-error-message#80026 "(I apologize, but I posted this in the wrong area. It was meant for the error/bug section.)  Dear Hikashop,  I get the following:  Fatal error: Call to a member function scaleImage() on a non-object in /home/content/08/8890808/html/components/com&#95;hikashop/views/product/tmpl/carousel.php on line 47  I have never modified carousel.php in any way. Attached is the setup I tried:    imgur.com/z5lX4  It seems to be a problem with the &quot;thumbnail&quot; function. Thank you. Carey")*

Hi there,

It looks like the javascript code for the thumbnails isn't loaded which is really strange.
Are you sure you didn't erased something by mistake? Also, do you have the last Hikashop version?
You can try to reinstall the last version, it should include the fix we gave you ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2Mjg3LWNhcm91c2VsLWVycm9yLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 35
- Thank you received: 2
-
-

13 years 10 months ago -  13 years 10 months ago [\#80725](#80725) by [dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")  Replied by *[dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")* on topic *[Carousel Error Message](/forum/2-general-talk-about-hikashop/76287-carousel-error-message#80725 "(I apologize, but I posted this in the wrong area. It was meant for the error/bug section.)  Dear Hikashop,  I get the following:  Fatal error: Call to a member function scaleImage() on a non-object in /home/content/08/8890808/html/components/com&#95;hikashop/views/product/tmpl/carousel.php on line 47  I have never modified carousel.php in any way. Attached is the setup I tried:    imgur.com/z5lX4  It seems to be a problem with the &quot;thumbnail&quot; function. Thank you. Carey")*

I certainly didn't change any of the code that relates to the javascript. I will install latest version now. I "presume" that only the default views are changed? The custom ones I have made will not be changed in any way?

PS: Inside Hikashop, it says I have the latest stable version (2.0). The download through my orders is the exact same file size. Is there somewhere specific I must go for the latest hotfix?

Last edit: 13 years 10 months ago by [dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2Mjg3LWNhcm91c2VsLWVycm9yLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 35
- Thank you received: 2
-
-

13 years 10 months ago -  13 years 10 months ago [\#80990](#80990) by [dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")  Replied by *[dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile")* on topic *[Carousel Error Message](/forum/2-general-talk-about-hikashop/76287-carousel-error-message#80990 "(I apologize, but I posted this in the wrong area. It was meant for the error/bug section.)  Dear Hikashop,  I get the following:  Fatal error: Call to a member function scaleImage() on a non-object in /home/content/08/8890808/html/components/com&#95;hikashop/views/product/tmpl/carousel.php on line 47  I have never modified carousel.php in any way. Attached is the setup I tried:    imgur.com/z5lX4  It seems to be a problem with the &quot;thumbnail&quot; function. Thank you. Carey")*

I have solved this problem. Perhaps you can make a note somewhere or find a fix:

The issue arises when trying to place hikashop content modules into product show using "module anywhere" code. It seems to have to do with the order in which elements are loaded.

So this code in the "show" will call on the module, but the javasctipt will be broken: {module myhikashopmodule}

The workaround I discovered is this:

Make a custom field "myhikashopmodule" and for the text us the Module Anywhere code: {module myhikashopmodule}.

In the show.php, a standard custome field insert **WILL NOT WORK** (&lt;?php echo $this-&gt;row-&gt;myhikashopmodule; ?&gt;

USE:

&lt;?php
echo JHTML::_('content.prepare', $this-&gt;element-&gt;myhikashopmodule);
?&gt;

This will cause the javascript to be called upon correctly.

Last edit: 13 years 10 months ago by [dynamicvitality](/forum/user/8140-dynamicvitality "View dynamicvitality's Profile").

The following user(s) said Thank You: [Xavier](/forum/user/4105-xavier "View Xavier's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2Mjg3LWNhcm91c2VsLWVycm9yLW1lc3NhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.127 seconds

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

[](#top)
