Drupal 7 Error.
The scenario is: you deleted a field from one of your content types, but you later get this PDOException.
The error is saying that it can’t find a table with the name of the deleted field.
The solution is to go into mysql and remove the ‘ghost’ field entry from field_config and field_config_instance.
mysql> DELETE FROM field_config WHERE field_name = ‘field_DELETED_FIELD’;
mysql> DELETE FROM field_config_instance WHERE field_name = ‘field_DELETED_FIELD’;
drush cc all
(don’t forget to clear cache after deleting)
It seems that the existence of these ghost entries in field_config and field_config_instance is leading drupal to look for the field values (which it expects to find in Table ‘DATABASE.field_data_field_DELETED_FIELD’