error after upgrade and adding custom field

  • Posts: 25
  • Thank you received: 0
9 years 1 week ago #250216

-- HikaShop version -- : 2.6.4 business
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6.18
-- Browser(s) name and version -- : chrome 54.0.2840.27
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$bachremedies in .../components/com_hikashop/views/product/tmpl/show_block_custom_item.php on line 14

Hi!

I upgraded tot business edition to add custom fields to a product. But I get an error after I made a custom field. I did not edit the template show_block_custom_item.php.

Whats wrong? :huh:

Kind regards

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

  • Posts: 26284
  • Thank you received: 4046
  • MODERATOR
9 years 1 week ago #250218

Hi,

Please edit directly the file "/components/com_hikashop/views/product/tmpl/show_block_custom_item.php" and replace

$itemData = JRequest::getString('item_data_' . $fieldName, $this->element->$fieldName);
By
$itemData = JRequest::getString('item_data_' . $fieldName, @$this->element->$fieldName);
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: Cybermissy

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

  • Posts: 25
  • Thank you received: 0
9 years 1 week ago #250254

Solved it, Thank you!

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

Time to create page: 0.054 seconds
Powered by Kunena Forum