- Posts: 162
- Thank you received: 0
Fields error
- info@vesica.org
-
Topic Author
- Offline
Less
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!
-- 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.
10 years 10 months ago #222651
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Fields error
Hi,
In the HikaShop class field (the file with the warning) you can replace the content
By
That patch already in our repository for the next HikaShop release.
Regards,
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;
}
}
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;
}
}
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