On Drupal 7.44 file field paths module gives the following errors:

Notice: Undefined index: #instance in filefield_paths_form_alter() (line 49 of /var/www/html/sites/all/modules/filefield_paths/filefield_paths.module).
Notice: Undefined index: #instance in filefield_paths_form_alter() (line 82 of /var/www/html/sites/all/modules/filefield_paths/filefield_paths.module).
Notice: Undefined index: token type in filefield_paths_form_alter() (line 97 of /var/www/html/sites/all/modules/filefield_paths/filefield_paths.module).
Notice: Undefined index: token type in filefield_paths_form_alter() (line 151 of /var/www/html/sites/all/modules/filefield_paths/filefield_paths.module).
Notice: Undefined index: token type in filefield_paths_form_alter() (line 97 of /var/www/html/sites/all/modules/filefield_paths/filefield_paths.module).
Notice: Undefined index: token type in filefield_paths_form_alter() (line 151 of /var/www/html/sites/all/modules/filefield_paths/filefield_paths.module).

I am using entity_token 7.x-1.7, token 7.x-1.6, and tried BOTH the stable and dev versions of this module.

If I also try to set the file name token to some otherwise valid value like [node:title] I get the following error.
The File name is using the following invalid tokens: [node:title].

I have another test site with Drupal 7.43 with eneity_token 7.x-1.6, token 7.x-1.6 and it is WORKING there so I do not know what may be causing this.

Comments

anishmg created an issue. See original summary.

anishmg’s picture

anishmg’s picture

Priority: Major » Normal

Update:

It seems this module has some kind of conflict with the "Views field" and "Field Suppress" modules as disabling them fixes the issue.

Reducing priority (but maybe you can look into it nevertheless)