Skip to main content

Error in product list

More
10 years 11 months ago - 10 years 11 months ago #217823 by co88agency
-- 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

Last edit: 10 years 11 months ago by co88agency.

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

More
10 years 11 months ago #217828 by Mohamed Thelji
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.

More
10 years 11 months ago #217906 by co88agency
Replied by co88agency on topic Error in product list
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.

More
10 years 11 months ago #217925 by Xavier
Replied by Xavier on topic Error in product list
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:
Code:
$this->row = null;
By:
Code:
$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.210 seconds
Powered by Kunena Forum