I get this log message on a content type not using maxlengths and a site runned with the module domain access not working well since this message came up - what is going wrong here? -
Notice: Undefined variable: elements in maxlength_js_field_attach_form() (line 73 of /drupal7/sites/all/modules/maxlength_js/maxlength_js.module).
Comments
Comment #1
jm.federico commentedIts been fixed in dev since May 29
Comment #3
87surendra commentedIts happening because there elements value is not set.
I resolve this error by add this line
if(isset($elements)){
_maxlength_js_children($form, $elements);
}