When creating a new product type with a commerce file field I get the following error

Notice: Undefined index: uri_scheme in _filefield_source_attach_directory() (line 288 of D:\xampp\htdocs\commerce0711\sites\all\modules\filefield_sources\sources\attach.inc).

Comments

artatac’s picture

and when I attach a file I get

Notice: Undefined index: uri_scheme in _filefield_source_attach_directory() (line 288 of D:\xampp\htdocs\commerce0711\sites\all\modules\filefield_sources\sources\attach.inc).
Notice: Undefined index: uri_scheme in _filefield_source_attach_directory() (line 288 of D:\xampp\htdocs\commerce0711\sites\all\modules\filefield_sources\sources\attach.inc).
recrit’s picture

Status: Active » Needs review

try the patch to file field sources in #1228800: Remove unneeded parameter from file_default_scheme() and let me know if you have any more issues

recrit’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.