Custom fields error

  • Posts: 40
  • Thank you received: 1
8 years 11 months ago #240956

-- url of the page with the problem -- : /administrator/index.php?option=com_hikashop&ctrl=field
-- HikaShop version -- : HikaShop Business 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : PHP Warning: Creating default object from empty value in \administrator\components\com_hikashop\views\field\tmpl\form.php on line 478

Hello! I'm trying to add a custom field, options are shown on the screenshot. After I press "Save" I see an error. Actually, the field is saved, but then I see the same error when I'm trying to edit the field.

What's wrong?..

Attachments:

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

  • Posts: 43
  • Thank you received: 3
8 years 11 months ago #240961

-- HikaShop version -- : HikaShop Business 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.4.45

1. Similar problem here. After creating new custom field, for product category, which saves ok. And try to use it in the product, on save i get an error. I think my case has something to do with the limit size of the colum name. (50 characters)

2. Further more, I made in total 17 custom fields. Only 3 are apearing on back and front of the product. Again I have the feeling it has something to do with the access rights. But I am not sure.

3. On the back end of the product page is "User group after" none by default. If you do not change that it will not show on the front end.

Last edit: 8 years 11 months ago by uteco.

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

  • Posts: 83746
  • Thank you received: 13549
  • MODERATOR
8 years 11 months ago #240965

Hi,

1. It's just a warning, you can ignore it. Turn off the "error reporting" setting of the Joomla configuration and you won't have the message.

2. I don't know how you configured your fields. Could you do some screenshots of the settings and the problem ?

3. It's normal that the "user group after" is set to "none" by default.
That option is to add a user group to the customer after the purchase. It's not linked to the display of the product or not. The display based on the user group is handled by the option "access level" of your products.

The following user(s) said Thank You: rndm

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

  • Posts: 40
  • Thank you received: 1
8 years 11 months ago #241056

Ok, I'll try and will turn on reporting afterwards.

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

Time to create page: 0.098 seconds
Powered by Kunena Forum