[Skip to main content](#vessel-content)

#   Custom fields error

##

- **[rndm](/forum/user/40094-rndm "View rndm's Profile")**
- [![rndm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40094-rndm "View rndm's Profile") Topic Author
- [ Offline](/forum/user/40094-rndm)

Less More

- Posts: 40
- Thank you received: 1
-
-

10 years 5 months ago [\#240956](#240956) by [rndm](/forum/user/40094-rndm "View rndm's Profile")  *[Custom fields error](/forum/26-product-category-display/884687-custom-fields-error#240956 "-- url of the page with the problem -- : /administrator/index.php?option=com&#95;hikashop&amp;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 &#92;administrator&#92;components&#92;com&#95;hikashop&#92;views&#92;field&#92;tmpl&#92;form.php on line 478  Hello! I'm trying to add a custom field, options are shown on the screenshot. After I press &quot;Save&quot; 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?..")* was created by *[rndm](/forum/user/40094-rndm "View rndm's Profile")*

-- url of the page with the problem -- : /administrator/index.php?option=com_hikashop&amp;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?..

- [ ![scr.png](/forum/attachment/31620) ](/forum/attachment/31620 "scr.png") [ ](/forum/attachment/31620?download=1 "scr.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODQ2ODctY3VzdG9tLWZpZWxkcy1lcnJvcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[uteco](/forum/user/5467-uteco "View uteco's Profile")**
- [![uteco's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5467-uteco "View uteco's Profile")
- [ Offline](/forum/user/5467-uteco)

Less More

- Posts: 43
- Thank you received: 3
-
-

10 years 5 months ago -  10 years 5 months ago [\#240961](#240961) by [uteco](/forum/user/5467-uteco "View uteco's Profile")  Replied by *[uteco](/forum/user/5467-uteco "View uteco's Profile")* on topic *[Custom fields error](/forum/26-product-category-display/884687-custom-fields-error#240961 "-- url of the page with the problem -- : /administrator/index.php?option=com&#95;hikashop&amp;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 &#92;administrator&#92;components&#92;com&#95;hikashop&#92;views&#92;field&#92;tmpl&#92;form.php on line 478  Hello! I'm trying to add a custom field, options are shown on the screenshot. After I press &quot;Save&quot; 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?..")*

-- 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: 10 years 5 months ago by [uteco](/forum/user/5467-uteco "View uteco's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODQ2ODctY3VzdG9tLWZpZWxkcy1lcnJvcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

10 years 5 months ago [\#240965](#240965) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom fields error](/forum/26-product-category-display/884687-custom-fields-error#240965 "-- url of the page with the problem -- : /administrator/index.php?option=com&#95;hikashop&amp;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 &#92;administrator&#92;components&#92;com&#95;hikashop&#92;views&#92;field&#92;tmpl&#92;form.php on line 478  Hello! I'm trying to add a custom field, options are shown on the screenshot. After I press &quot;Save&quot; 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?..")*

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](/forum/user/40094-rndm "View rndm's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODQ2ODctY3VzdG9tLWZpZWxkcy1lcnJvcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rndm](/forum/user/40094-rndm "View rndm's Profile")**
- [![rndm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40094-rndm "View rndm's Profile") Topic Author
- [ Offline](/forum/user/40094-rndm)

Less More

- Posts: 40
- Thank you received: 1
-
-

10 years 5 months ago [\#241056](#241056) by [rndm](/forum/user/40094-rndm "View rndm's Profile")  Replied by *[rndm](/forum/user/40094-rndm "View rndm's Profile")* on topic *[Custom fields error](/forum/26-product-category-display/884687-custom-fields-error#241056 "-- url of the page with the problem -- : /administrator/index.php?option=com&#95;hikashop&amp;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 &#92;administrator&#92;components&#92;com&#95;hikashop&#92;views&#92;field&#92;tmpl&#92;form.php on line 478  Hello! I'm trying to add a custom field, options are shown on the screenshot. After I press &quot;Save&quot; 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?..")*

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODQ2ODctY3VzdG9tLWZpZWxkcy1lcnJvcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.062 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
