Hello,

I have a problem when saving already published article (photo gallery). During creating or editing it I see this error:

Notice: Undefined index: display_field in file_field_widget_value function () (line 595 in the file /.../modules/file/file.field.inc).

and gallery will automatically change to unpublished, any editing is not possible. I found out that the "un-publishing" happends with all galleries, where are more than 163 photos . When I open the editing of gallery I can see only the first 163 pictures, the rest on the ftp.

To upload photos I am using a combination of sources filefield + filefield sources plupload. In the file file.field.inc line 595 is this:

$input[‚display‘] = $field[‚settin­gs‘][‚display_fi­eld‘] ? 0 : 1;

Do you know where could be the problem? Can it be blocked by some module?

Comments

f3nix’s picture

any idea?

Culacov Pavel’s picture

In my case: I can't upload more than 27 image. The main idea is not in error what display drupal :
Notice: Undefined index: display_field in file_field_widget_value function () (line 595 in the file
idee is, then more then 27 image is upload (theoretically) is more then 1000 characters

You need to change in php.ini max_input_vars > more then 1000, this help me

20 minutes ago I solved this problem