Skip to Content Skip to Menu

1364 field doesn't have a default value

  • lucamurru
  • lucamurru
  • OFFLINE
  • Posts: 7
  • Thanks: 1
  • Karma: 0
2 years 11 months ago #327507 by lucamurru
1364 field doesn't have a default value was created by lucamurru
Hello,

I am creating a community with different types of users. Depending on the type of user, the fields that the user must fill in change.

I use the CB Conditional plugin to show or hide fields. The problem I encounter when I go to register a user is the following:

"1364 Field 'field_name' doesn't have a default value"

So far I have encountered this problem with fields of type Check Box (Multiple).

I don't know if it will also show up with other types of fields. For now I am stuck in this phase of the registration process.

Thanks and I look forward to receiving feedback on this.

Luca

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
2 years 11 months ago #327514 by krileon
Replied by krileon on topic 1364 field doesn't have a default value
Our fields don't have a "field_name" database column. It's just "name". My guess is you've a Joomla field causing problems or a 3rd party plugin acting on Joomla user store causing problems. Did you create any Joomla custom user fields within Users > Fields?


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • lucamurru
  • lucamurru
  • OFFLINE
  • Posts: 7
  • Thanks: 1
  • Karma: 0
2 years 11 months ago #327521 by lucamurru
Replied by lucamurru on topic 1364 field doesn't have a default value
Hello Kyle,

I apologize, I expressed myself badly. The field indicated as "field_name" indicates in a generic way the name of the real field. In the screenshot attached the error during registration. The "cb_certificazionequalita" field is a Check Box (Multiple) type Commuty Builder field.

If you deem it necessary, I can provide you with the link to the site and, if necessary, an administrative user for checks.

Thank you
Luca

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
2 years 11 months ago #327531 by krileon
Replied by krileon on topic 1364 field doesn't have a default value
Strange, it should have NULL as its default. Try editing the field and re-saving it then retrying. Is the field available during registration? You said you're using CB Conditional, is it being applied to that field as well? Does the error go away if the field isn't conditioned away?


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
2 years 11 months ago #327532 by krileon
Replied by krileon on topic 1364 field doesn't have a default value
Created a bug ticket as it does appear that multicheckbox are not default NULL like other fields and they should be.

forge.joomlapolis.com/issues/8812


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • lucamurru
  • lucamurru
  • OFFLINE
  • Posts: 7
  • Thanks: 1
  • Karma: 0
2 years 11 months ago #327545 by lucamurru
Replied by lucamurru on topic 1364 field doesn't have a default value
Hello Kyle,

in fact I have deleted and recreated all the fields but I always get the error.

When version 2.7 expected to be released?

Thanks

Luca

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

Moderators: beatnantkrileon
Powered by Kunena Forum