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

#   error message on a single category page

##

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

Less More

- Posts: 179
- Thank you received: 17
-
-
- [](http://oceansafety.com)
-

15 years 7 months ago [\#11936](#11936) by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile")  *[error message on a single category page](/forum/3-bug-report/11936-error-message-on-a-single-category-page#11936 "Hi There  I am gettting the following error message :  Warning: Attempt to assign property of non-object in /home/redcellc/public&#95;html/test1/administrator/components/com&#95;hikashop/classes/currency.php on line 381  Warning: Attempt to assign property of non-object in /home/redcellc/public&#95;html/test1/administrator/components/com&#95;hikashop/classes/currency.php on line 381  on my test site at :    redcell.co.uk/test1/index.php?option=com...a-harnesses&amp;Itemid=7  Just that page only it seems :(  Any ideas ?")* was created by *[rikatos](/forum/user/1634-rikatos "View rikatos's Profile")*

Hi There

I am gettting the following error message :

Warning: Attempt to assign property of non-object in /home/redcellc/public_html/test1/administrator/components/com_hikashop/classes/currency.php on line 381

Warning: Attempt to assign property of non-object in /home/redcellc/public_html/test1/administrator/components/com_hikashop/classes/currency.php on line 381

on my test site at :

[ redcell.co.uk/test1/index.php?option=com...a-harnesses&amp;Itemid=7](http://redcell.co.uk/test1/index.php?option=com_hikashop&ctrl=category&task=listing&cid=53&name=safety-lines-a-harnesses&Itemid=7)

Just that page only it seems ![:(](/media/kunena/emoticons/22.png ":(")

Any ideas ?

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

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

Less More

- Posts: 179
- Thank you received: 17
-
-
- [](http://oceansafety.com)
-

15 years 7 months ago -  15 years 7 months ago [\#11938](#11938) by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile")  Replied by *[rikatos](/forum/user/1634-rikatos "View rikatos's Profile")* on topic *[Re: error message on a single category page](/forum/3-bug-report/11936-error-message-on-a-single-category-page#11938 "Hi There  I am gettting the following error message :  Warning: Attempt to assign property of non-object in /home/redcellc/public&#95;html/test1/administrator/components/com&#95;hikashop/classes/currency.php on line 381  Warning: Attempt to assign property of non-object in /home/redcellc/public&#95;html/test1/administrator/components/com&#95;hikashop/classes/currency.php on line 381  on my test site at :    redcell.co.uk/test1/index.php?option=com...a-harnesses&amp;Itemid=7  Just that page only it seems :(  Any ideas ?")*

Update, it seems that it is because 2 products on the page have a value of £0.00 because if I disable them the error goes away ?

Also I have another product with is £0.00 and that correctly replaces the £0.00 with my text (In my case it is 'Quote me' but its normally 'FREE')

so not quite sure ![:)](/media/kunena/emoticons/3.png ":)")

Last edit: 15 years 7 months ago by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xMTkzNi1lcnJvci1tZXNzYWdlLW9uLWEtc2luZ2xlLWNhdGVnb3J5LXBhZ2U/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 7 months ago [\#11947](#11947) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: error message on a single category page](/forum/3-bug-report/11936-error-message-on-a-single-category-page#11947 "Hi There  I am gettting the following error message :  Warning: Attempt to assign property of non-object in /home/redcellc/public&#95;html/test1/administrator/components/com&#95;hikashop/classes/currency.php on line 381  Warning: Attempt to assign property of non-object in /home/redcellc/public&#95;html/test1/administrator/components/com&#95;hikashop/classes/currency.php on line 381  on my test site at :    redcell.co.uk/test1/index.php?option=com...a-harnesses&amp;Itemid=7  Just that page only it seems :(  Any ideas ?")*

Could you please update to the latest version of HikaShop and try again ?

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

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

Less More

- Posts: 179
- Thank you received: 17
-
-
- [](http://oceansafety.com)
-

15 years 7 months ago [\#11951](#11951) by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile")  Replied by *[rikatos](/forum/user/1634-rikatos "View rikatos's Profile")* on topic *[Re: error message on a single category page](/forum/3-bug-report/11936-error-message-on-a-single-category-page#11951 "Hi There  I am gettting the following error message :  Warning: Attempt to assign property of non-object in /home/redcellc/public&#95;html/test1/administrator/components/com&#95;hikashop/classes/currency.php on line 381  Warning: Attempt to assign property of non-object in /home/redcellc/public&#95;html/test1/administrator/components/com&#95;hikashop/classes/currency.php on line 381  on my test site at :    redcell.co.uk/test1/index.php?option=com...a-harnesses&amp;Itemid=7  Just that page only it seems :(  Any ideas ?")*

I updated Hikashop. still same error.

I also re uploaded after the error the new currency.php I have, still same error with the updated currency and the version you gave me.

Its quite bizarre!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xMTkzNi1lcnJvci1tZXNzYWdlLW9uLWEtc2luZ2xlLWNhdGVnb3J5LXBhZ2U/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 7 months ago [\#11954](#11954) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: error message on a single category page](/forum/3-bug-report/11936-error-message-on-a-single-category-page#11954 "Hi There  I am gettting the following error message :  Warning: Attempt to assign property of non-object in /home/redcellc/public&#95;html/test1/administrator/components/com&#95;hikashop/classes/currency.php on line 381  Warning: Attempt to assign property of non-object in /home/redcellc/public&#95;html/test1/administrator/components/com&#95;hikashop/classes/currency.php on line 381  on my test site at :    redcell.co.uk/test1/index.php?option=com...a-harnesses&amp;Itemid=7  Just that page only it seems :(  Any ideas ?")*

I understand why I couldn't find the line of the error now. That's because you're using the modified currency.php file I posted earlier today.
In that currency.php file, could you change the lines:
if($match-&gt;price_value&gt;$maxVal){

by:
if($match-&gt;price_value&gt;$maxVal &#124;&#124; $maxVal==0){

in the function getListingPrices ?
That should avoid the warning.

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

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

Less More

- Posts: 179
- Thank you received: 17
-
-
- [](http://oceansafety.com)
-

15 years 7 months ago [\#11956](#11956) by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile")  Replied by *[rikatos](/forum/user/1634-rikatos "View rikatos's Profile")* on topic *[Re: error message on a single category page](/forum/3-bug-report/11936-error-message-on-a-single-category-page#11956 "Hi There  I am gettting the following error message :  Warning: Attempt to assign property of non-object in /home/redcellc/public&#95;html/test1/administrator/components/com&#95;hikashop/classes/currency.php on line 381  Warning: Attempt to assign property of non-object in /home/redcellc/public&#95;html/test1/administrator/components/com&#95;hikashop/classes/currency.php on line 381  on my test site at :    redcell.co.uk/test1/index.php?option=com...a-harnesses&amp;Itemid=7  Just that page only it seems :(  Any ideas ?")*

Yeah, it is doing its funky stuff once again and looking pretty. thanks ![:)](/media/kunena/emoticons/3.png ":)")

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

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