Hi everyone,
I'm having a problem with the "add another field" function in the user registration section of my Drupal site.
Drupal Version: 7.9
Hosted: Localhost (MAMP)
The Error:
Notice: Undefined index: #ajax in ajax_form_callback() (line 383 of /Applications/MAMP/htdocs/ssn/includes/ajax.inc).
When It Occurs:
When on the user registration page, there is a section to create a list of specific details. This list is a text field with unlimited values. Clicking on "Add Another Item", should add another field. Instead it does precisely nothing, and punches the above error into the error log.
I have already looked around the web for a solution, but it's proven difficult.
I'm wondering if it has anything to do with any of the following:
- Corolla 7.x-2.2 (Sub-theme of AdaptiveThemes - installed)
- CKEditor
- Profile2
I have tried switching themes to Bartik, and it provides the same error as above still, so any help would be great!
Thanks for your help and taking the time to read this post.
*EDIT*
I probably should have included this before. This is the function - the second line is line 383.
if (!empty($form_state['triggering_element'])) {
$callback = $form_state['triggering_element']['#ajax']['callback'];
}
if (!empty($callback) && function_exists($callback)) {