Closed (fixed)
Project:
File (Field) Paths
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Jun 2011 at 15:52 UTC
Updated:
21 May 2013 at 18:22 UTC
Jump to comment: Most recent file
There is a php error message on admin/build/themes
Notice: Undefined index: type in filefield_filefield_paths_form_alter() (line 12 of /var/www/sites/all/modules/contrib/filefield_paths/modules/filefield.inc).
Apache/2.2.14 (Ubuntu)
PHP 5.3.2-1ubuntu4.9
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | filefield_paths-1195374-6.patch | 706 bytes | mikeytown2 |
Comments
Comment #1
iryston commentedAfter removing basic theme (http://drupal.org/project/basic) error has gone!!!
Comment #2
babycourageous commentedI'm getting this error as well. I first noticed it when going to either the ADD or EDIT pages of the Custom Formatter module. When doing a dsm on the $form element in filefield.inc there does indeed seem to be a lack of a "type" index. Any thoughts or suggestions would be grand.
Thanks
Comment #3
hey_germanoMe too, subscribing.
PHP 5.2.6, getting the error on user/password, same module version
Comment #4
babycourageous commentedHere's my update...
I began noticing it on A LOT of my contrib modules and even my own custom ones. After some dsm-ing and digging around, I determined it to be a PHP thing. I know somewhere in the update process PHP went strict on us. No more silent fails... So now programmers have to check for the existence of variables before using them in things like if/else statements, foreach, etc.
At least that's what it wound up being for me.
Comment #5
mikeytown2 commentedSubscribe
Notice: Undefined index: type in filefield_filefield_paths_form_alter()
line 12 of sites/all/modules/filefield_paths/modules/filefield.inc
Happens on the
admin/build/path/listURL.Comment #6
mikeytown2 commentedComment #7
thedavidmeister commentedI was having the same issue on the URL aliases page, the patch in #6 cleaned it up for me.
Comment #8
mikeytown2 commentedComment #9
decipheredThanks, committed to 6.x-1.x.
Cheers,
Deciphered.
Comment #11
roball commentedThe fix is now officially available in version 6.x-1.5.