Skip to Content Skip to Menu

Invalid Field Type

  • jmaridon
  • jmaridon
  • OFFLINE
  • Posts: 49
  • Thanks: 8
  • Karma: 2
6 years 11 months ago #298595 by jmaridon
Invalid Field Type was created by jmaridon
For years we have used a checkbox as a field type but as of late, we began receiving the following error:

Warning: 3 entries in Community Builder comprofiler_field_values link back to fields of wrong fieldtype.
fieldvalueid=571 fieldtype=checkbox
fieldvalueid=572 fieldtype=checkbox
fieldvalueid=556 fieldtype=checkbox

These are custom fields set to checkbox (single) and if I change them to a radio button or any other field type, this error in the cb database check tool goes away. Unchecked used to equal 0 (no) and checked used to equal 1 (yes) but only recently has this issue arised.

Can you please help?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 11 months ago #298606 by krileon
Replied by krileon on topic Invalid Field Type
You've fields that have values stored in _comprofiler_field_values, which is where select, multiselect, multicheckbox, and raido fields store their options. In the case of a single checkbox field there should be nothing in that table for that field. However, if there is it won't do any harm and is completely safe to ignore as it is simply informing you of this. You can remove them manually in the _comprofiler_field_values database table if you don't want them there.


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.
The following user(s) said Thank You: jmaridon

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

Moderators: beatnantkrileon
Powered by Kunena Forum