Moving from: http://drupal.org/node/1801730#comment-6557558
I'm uninstall plupload module and try upload 1 image.
I'm select image and click Upload button. I see errors:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'node_form' was given in drupal_retrieve_form() (line 800 of /home/sashken/data/www/sashken.ru/includes/form.inc).
Notice: Undefined index: #node in comment_form_node_form_alter() (line 1194 of /home/sashken/data/www/sashken.ru/modules/comment/comment.module).
Notice: Trying to get property of non-object in comment_form_node_form_alter() (line 1211 of /home/sashken/data/www/sashken.ru/modules/comment/comment.module).
Notice: Undefined index: #node in menu_form_node_form_alter() (line 629 of /home/sashken/data/www/sashken.ru/modules/menu/menu.module).
Notice: Trying to get property of non-object in menu_form_node_form_alter() (line 629 of /home/sashken/data/www/sashken.ru/modules/menu/menu.module).
Notice: Undefined index: #node in menu_form_node_form_alter() (line 630 of /home/sashken/data/www/sashken.ru/modules/menu/menu.module).
Notice: Trying to get property of non-object in menu_form_node_form_alter() (line 630 of /home/sashken/data/www/sashken.ru/modules/menu/menu.module).
Notice: Undefined index: node_gallery_media in file_ajax_upload() (line 271 of /home/sashken/data/www/sashken.ru/modules/file/file.module).
Notice: Undefined index: #suffix in file_ajax_upload() (line 280 of /home/sashken/data/www/sashken.ru/modules/file/file.module).
If I'm select image and click Save button all works good.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1803364-file-ajax-errors.patch | 798 bytes | zengenuity |
Comments
Comment #1
zengenuity CreditAttribution: zengenuity commentedNeed to build the embedded form in a different way as per:
http://drupal.org/node/1336212#comment-6056524
Patch attached.
Comment #2
sashken2 CreditAttribution: sashken2 commentedzengenuity, thanks!
Now all works good
Comment #3
zengenuity CreditAttribution: zengenuity commentedCommitted.