Closed (fixed)
Project:
MaxLength
Version:
7.x-3.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2012 at 18:00 UTC
Updated:
10 Sep 2012 at 10:07 UTC
On the translation page the following notice is shown in red.
Notice: Undefined index: #node in maxlength_form_alter() (line 188 of /home/vrijlab/domains/fablabamersfoort.nl/public_html/sites/all/modules/maxlength/maxlength.module).
Notice: Trying to get property of non-object in maxlength_form_alter() (line 188 of /home/vrijlab/domains/fablabamersfoort.nl/public_html/sites/all/modules/maxlength/maxlength.module).
In my case a translation page has the following url.
http://fablabamersfoort.nl/en/node/205/translate
I get the feeling it's looking for fields that aren't there. Maybe it needs a exception or a check to prevent this.
Comments
Comment #1
RedTop commentedSame error here when browsing to a node with a video field. In the content type, edit fields tab I noticed that although the standard countdown message is there, the field 'Maxlength JS' for setting the length is missing.
Comment #2
leksat commentedFixed in #1346796: Error inserting image.