All custom fields are missing in views 'add field' and 'add filter' forms (Drupal 7)
To add to james-geldart's answer, I solved this same problem permanently (or for a few hours so far at least) by deleting every row of the table cache_views in the site's database.