Answers.Body: <p>I found out that it was a bad custom field in my data set, when I disabled the set I can view my contacts. Thank you everyone who helped me with this. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-13T22:04:33.867Z
Answers.Text: Cant accept my answer apparently so sorry if it is unresolved still.
Answers.UserDisplayName: DerpyBirds
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-23T11:12:59.927Z
Answers.Text: Your answer is just as unhelpful as the question. How did you disable the data set with bad custom field?
Answers.UserDisplayName: Onlyjob
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-13T22:03:20.450Z
Answers.LastActivityDate: 2018-04-18T20:43:01.357Z
Answers.LastEditDate: 2018-04-18T20:43:01.357Z
Answers.UserDisplayName: DerpyBirds
Body: <p>So I just updated CiviCRM to 5.0 and I keep getting the error DB Error: no such field when I try and view/edit a contact. It doesn't allow me to view any contact but I can search and find my contacts. I am not sure what is going on but this happened even before I upgraded Civi and it was 4.7. </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-13T19:45:23.873Z
Comments.Text: Can you look at or post the relevant part from the CiviCRM log that says which field this is talking about (file location described here https://civicrm.stackexchange.com/questions/15931/where-are-the-configandlog-and-templates-c-directories)?
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-13T20:05:29.273Z
Comments.Text: Apr 10 20:25:19  [info] $Fatal Error Details = Array
  (
      [callback] => Array
          (
              [0] => CRM_Core_Error
              [1] => exceptionHandler
          )
  
      [code] => -19
      [message] => DB Error: no such field
      [mode] => 16
  Here is an instance where it happened.
Comments.UserDisplayName: DerpyBirds
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-13T20:22:51.047Z
Comments.Text: Any extensions being used?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-13T20:25:06.443Z
Comments.Text: Caldera Forms CiviCRM is the only one Ive used in the past week that resulted in this error.
Comments.UserDisplayName: DerpyBirds
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-13T20:30:29.877Z
Comments.Text: Is there more in the log, where it shows the actual SQL statement that would indicate the field name?
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-15T03:11:00.430Z
Comments.Text: Not sure why this was downvoted. It's a legit question just maybe missing details, and he/she took the time to post a followup answer.
Comments.UserDisplayName: Demerit
Tags: <wordpress><contacts>
Title: Contact field, DB Error: no such field
ThreadText: # Contact field, DB Error: no such field
  
  (Asked by: username_0 on 2018-04-13)
  
  So I just updated CiviCRM to 5.0 and I keep getting the error DB Error: no such field when I try and view/edit a contact. It doesn't allow me to view any contact but I can search and find my contacts. I am not sure what is going on but this happened even before I upgraded Civi and it was 4.7.
  
  **Tags:** wordpress, contacts
  
  > **Comments:**
  > **username_1**: Can you look at or post the relevant part from the CiviCRM log that says which field this is talking about (file location described here https://civicrm.stackexchange.com/questions/15931/where-are-the-configandlog-and-templates-c-directories)?  
  > **username_0**: Apr 10 20:25:19  [info] $Fatal Error Details = Array (     [callback] => Array         (             [0] => CRM_Core_Error             [1] => exceptionHandler         )      [code] => -19     [message] => DB Error: no such field     [mode] => 16 Here is an instance where it happened.  
  > **username_2**: Any extensions being used?  
  > **username_0**: Caldera Forms CiviCRM is the only one Ive used in the past week that resulted in this error.  
  > **username_1**: Is there more in the log, where it shows the actual SQL statement that would indicate the field name?  
  > **username_1**: Not sure why this was downvoted. It's a legit question just maybe missing details, and he/she took the time to post a followup answer.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2018-04-13. Score: 4 | Accepted answer
  
  I found out that it was a bad custom field in my data set, when I disabled the set I can view my contacts. Thank you everyone who helped me with this.
  
  > **Comments:**
  > **username_0**: Cant accept my answer apparently so sorry if it is unresolved still.  
  > **username_3**: Your answer is just as unhelpful as the question. How did you disable the data set with bad custom field?  
  
  ---
  
  