Just changed a database field name. When I click on user list, it tells me 1054 - Unknown column 'cb_areyouinterestedinbeingaddedtothedatingdatabase' in 'where clause' SQL=SELECT COUNT( DISTINCT u.id ) FROM ifm_users u JOIN ifm_user_usergroup_map g ON g.`user_id` = u.`id` JOIN ifm_comprofiler ue ON ue.`id` = u.`id` WHERE u.block = 0 AND ue.approved = 1 AND ue.confirmed = 1 AND g.group_id IN (2) AND ( `cb_areyouinterestedinbeingaddedtothedatingdatabase` = '' )
How do I get rid of this error? I changed the name of the field to cb_adddatingdatabase.
Looks like you added a filter for a field that doesn't exist? Check your filters on your userlist to ensure they're set correctly. As a side note that is a huge field name. Please ensure you're using CB 2.0.1 as we've made a few fixes to userlists.
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.
This shouldn't be a problem in 2.0.1 though as the filter dropdown now should only show fields with a database column. So if you created the list before 2.0.1 that would be why as it showed every field. Does that field still show in your basic filter dropdown as a selectable field? If it does you may want to run CBs database tools as it means a fields column is missing.
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.