The following error is displayed:
Notice: Undefined index: extension in filefield_paths_tokens() (line 56 of /srv/www/public_html/sites/all/modules/filefield_paths/modules/token.inc).
Modules used:
Media
Media_Youtube
Emfield
How to reproduce the error:
1) Create a content type. Add a file field and select Embedded media field as the widget.
2) Create a node and copy-paste a Youtube URL into the field and the error will be displayed. Additionally, it will not display the youtube video but instead a link that doesn't function.
These errors go away and the content type works correctly when disabling file (field) path
Comments
Comment #1
decipheredThis is a duplicate of #1601104: Notice: Undefined index: extension in filefield_paths_tokens() (Patch)