Notice: Undefined index: allowed_values in list_allowed_values() I am getting this error 

Notice: Undefined index: allowed_values_function in list_allowed_values() (line 239 of /var/www/html/drupal/modules/field/modules/list/list.module).
Notice: Undefined index: allowed_values in list_allowed_values() (line 248 of /var/www/html/drupal/modules/field/modules/list/list.module).
Notice: Undefined index: allowed_values_function in list_allowed_values() (line 239 of /var/www/html/drupal/modules/field/modules/list/list.module).
Notice: Undefined index: allowed_values in list_allowed_values() (line 248 of /var/www/html/drupal/modules/field/modules/list/list.module).


In my view I have added filters "a" and "b".

In content type "a" is list(text) with default value none. and "b" is also list(text) with default value none.

If default value is not none then I am not getting the notice.

I want the default value to be none for the fields.

What should be done so that these "Notice" do not appear.
This can happen if you delete a field from the definition of a custom content type and that field is still referenced by a View.  Even if you added a new field with the same name as the one you deleted the problem will persist. You need to remove the old field from the View definition and then add the new field to the View.