Skip to main content

Fields error

More
10 years 10 months ago #222643 by info@vesica.org
Fields error was created by info@vesica.org
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.4

Hi,

I'm getting this error. Please see attached screenshot.

thanks!

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

More
10 years 10 months ago #222651 by Jerome
Replied by Jerome on topic Fields error
Hi,

In the HikaShop class field (the file with the warning) you can replace the content
Code:
if(!isset($data->product_type)) { $prodData = $productClass->get($id); if(!empty($prodData->product_type)) { $data->product_type = $prodData->product_type; $data->product_parent_id = $prodData->product_parent_id; } }
By
Code:
if(is_object($data) && !isset($data->product_type)) { $prodData = $productClass->get($id); if(!empty($prodData->product_type)) { $data->product_type = $prodData->product_type; $data->product_parent_id = $prodData->product_parent_id; } }
That patch already in our repository for the next HikaShop release.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: info@vesica.org

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

Time to create page: 0.165 seconds
Powered by Kunena Forum