I have search crawlers accessing "/system/ajax" and when it does the following notice is thrown.

Notice: Undefined index: form_id in ctools_custom_formatters_init() (line 11 of /mnt/stor2-wc1-dfw1/394720/www.ivaw.org/web/content/sites/all/modules/custom_formatters/includes/ctools.inc).

Just wanted to report it.

CommentFileSizeAuthor
#5 ajax-error-503-fieldcollection.png143.43 KBpixel8r

Comments

Ashlar’s picture

This bug report has not been active for over six months. In an effort to clean-up the issue queue this item has been closed. If your modules are current and the report is still relevant please feel free to change the Status back to active.

bryancasler’s picture

Status: Active » Closed (cannot reproduce)

Don't think I've seen these notices in a while.

Anonymous’s picture

Status: Closed (cannot reproduce) » Active

hi,
i dare to reopen this issue, cause i receive the very same notice and am in a very uncomfortable situation now.

I use a node type with a field collection. I create a node of this type as a template form for a species list.

All went well so far adding items to the field collection, but around the 141th item, adding a new item stops working and also the node sets itself to unpublished after saving!

I found this message in the reports:
location: http://example.com/system/ajax
referer: http://example.com/node/22940/edit
message: Notice: Undefined index: form_id in ctools_custom_formatters_init() (Zeile 11 von /home/bernd/www/d7/sites/all/modules/custom_formatters/includes/ctools.inc).

My field collection needs to have some 200 more entries unfortuantely to be complete.
I already restarted the editing of the list with a new node, cause this has happend before, but again around the 140th item, clicking the add button has no effect and doesn't add a new item to the field collection.

I hope someone has a quick idea what to do, otherwise i will buy me a rope and shoot myself with it.

sweetchuck’s picture

If somebody run into this problem, first time check the PHP settings (?q=admin/reports/status/php)
and check the value of the max_input_vars variable.
And then open the debuger window of the browser, go to Network tab.
The last entry in the list is /system/ajax or similar, near to throbbler.gif. (This depend on the used theme, form type, etc...)
Check the details of the /system/ajax entry, Headers tab/ Form data
If you see there more lines than your max_input_vars value, then you find the origin of the problem.
Increase the value of the max_input_vars variable.

pixel8r’s picture

Issue tags: +ajax error 503
StatusFileSize
new143.43 KB

@Sweetchuck, thank you so much for your solution tip. I had an AJAX error 503 that would come up every time I clicked "add another item" on field collections. I was unable to edit or create any of the content types that used field collections. I uploaded my error screenshot. After following your instructions I discovered the following:

My php.ini was set to max_input_vars = 1000, but the server was loading over 3000 lines. This started happening sometime after the update in January (?). Modifying that setting fixed the problem.

Thanks again!

japerry’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 7 is no longer supported, closing.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.