Error in product list

  • Posts: 34
  • Thank you received: 0
9 years 10 months ago #217823

-- HikaShop version -- : 2.6.0 Business
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.5.29
-- Error-message(debug-mod must be tuned on) -- : Warning: Creating default object from empty value in /web/htdocs/.../components/com_hikashop/views/product/tmpl/listing_table.php on line 221

Hi in my product list I have thi error...
Warning: Creating default object from empty value in /web/htdocs/.../components/com_hikashop/views/product/tmpl/listing_table.php on line 221
Someone can help me?
Best regards,
Loredana

Attachments:
Last edit: 9 years 10 months ago by co88agency.

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

  • Posts: 12953
  • Thank you received: 1778
9 years 10 months ago #217828

Hello Loredana,

1. Did you added some modification on the "Listing_table" file of the "Product" view of your front-end template ? You can check it via "Hikasohp->Display->Views".

2. Note that in production mode your should turn off the Joomla debug mode and error reporting.

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

  • Posts: 34
  • Thank you received: 0
9 years 10 months ago #217906

Hi Mohamed,
I don't add some modification on the listing_table file. This error display me product list in a wrong mode.
Best regards,
Loredana

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

  • Posts: 13201
  • Thank you received: 2322
9 years 10 months ago #217925

Hi,

This error is only a warning, and as Mohamed said in production mode the error reporting level should be set on "System default". To solve this warning you can edit the view "product / listing_table" and replace the line:

$this->row = null;
By:
$this->row = new stdClass();
I think that it is this line which is causing the issue, if not, please give us the code of the line 221.

www.hikashop.com/support/support/documen...ize-the-display.html

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

Time to create page: 0.070 seconds
Powered by Kunena Forum