ERROR ON FIRST STEP AND CREATING FIRST DEMO PRODUCT - listing_price.php error

  • Posts: 1
  • Thank you received: 0
6 years 2 months ago #302832

-- HikaShop version -- : HikaShop Essential 4.0.2
-- Joomla version -- : 3.9.2
-- PHP version -- : 7.0.33
-- Browser(s) name and version -- : firefox 64.0.2 (64-bit)
-- Error-message(debug-mod must be tuned on) -- : Warning: reset() expects parameter 1 to be array, null given in /home/malelurukotvorin/public_html/components/com_hikashop/views/product/tmpl/listing_price.php on line 24
Standardna cijena: 150,00 HRK

HI, i ordered essential pack from you yesterday and today I installed fresh joomla 3.9.2 and installed your shop essential version 4.0.2. Everthing passed well on install and then I used that first step and setup of options and your menu leaded me to creation of my first demo product in my new shop. I entered all info nad product info, keywords, added a product picture bal bla....and went to save that product and refreshed my frontend to se how it looks...

And first step creation is offcourse....well... error:

Warning: reset() expects parameter 1 to be array, null given in /home/malelurukotvorin/public_html/components/com_hikashop/views/product/tmpl/listing_price.php on line 24

you manage to lead me to "my" first error and we did not even started to work on our webpage shop, what will happen than when we start to work on it hard?

And yes that link posted in your survey above with error is not viewable because webpage is still offline.

So what is this error please?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83511
  • Thank you received: 13511
  • MODERATOR
6 years 2 months ago #302834

Hi,

It's not a real error. It's just a warning message for developers. That message doesn't prevent HikaShop from working properly, it just means that there is a situation that isn't expected.
You shouldn't see such message on a live website as you should have the "error reporting" turned off in your Joomla configuration.
This message appears because you've set a "retail price" (or MSRP) but not a price in your product.
So you want to edit the product, remove the retail price and add the price with the + icon of the price listing below.
Otherwise, if you add the product to the cart, you'll see the price as free as there is no price and the retail price is only informative.

But anyways, thank you for your feedback. We'll add an extra check to not have the warning in such case.

The following user(s) said Thank You: Webusluge

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum