error

  • Posts: 33
  • Thank you received: 0
11 years 4 months ago #140162

-- url of the page with the problem -- :http://www.universal-gemstone.com
-- HikaShop version -- :2.2.3
-- Joomla version -- : 2.5.17
-- PHP version -- : 5.1.72
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on)Notice: Undefined property: stdClass::$hide in /home/vhosting/k/vhost0028562/domains/universal-gemstone.com/htdocs/www/templates/beez_20/html/com_hikashop/product/cart.php on line 195

What to do?

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

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 4 months ago #140173

Hi,

We don't know what you have modified in the view and it is possible that you introduced this notice by removing and replacing something in the code.
Here the only line in the view which make a reference to the key "hide":

if(empty($row->cart_product_quantity) && $cart_type != 'wishlist' || @$row->hide == 1) continue;
Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: janevert

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

  • Posts: 33
  • Thank you received: 0
11 years 4 months ago #140213

ok thanks there was some eror in the line and after correction the problem is solved.

I got still 2 other lines perhaps you can give me the correct line.
Trying to get property of non-object in /home/vhosting/k/vhost0028562/domains/universal-gemstone.com/htdocs/www/templates/beez_20/html/com_hikashop/product/listing.php on line 105
and
Trying to get property of non-object in /home/vhosting/k/vhost0028562/domains/universal-gemstone.com/htdocs/www/templates/beez_20/html/com_hikashop/product/listing.php on line 125

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

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 4 months ago #140231

Hi,

If you want to have the original line, you can take a look at the original file.
You are using overrides, so the used file is in the folder: " templates/beez_20/html/com_hikashop/view_name/ " (the template name changes depending your front-end template).
The original file will be in the folder: " components/com_hikashop/views/view_name/tmpl/ ".

So for the file "/templates/beez_20/html/com_hikashop/product/listing.php", you can open the original file : "components/com_hikashop/views/product/tmp/listing.php".

It will be easier for you to check directly the original file.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum