There are several PHP notices being thrown in Weight if you are running with E_ALL set. I have attached a patch to address them. They are either

- $_POST[] is referenced when it doesn't exist (IE on a normal page load)
- a variable is referenced without being initialized

The use of $_POST[] in general should really be addressed, but I don't have the time to go there at the moment. Perhaps later.

CommentFileSizeAuthor
#1 318625.patch939 bytesgdd
notices.patch747 bytesgdd

Comments

gdd’s picture

StatusFileSize
new939 bytes

Found another one (reference to $form['type']['#value'] when it doesn't exist, new patch attached

nancydru’s picture

Status: Needs review » Closed (duplicate)

Thank you for the patch. I think these will be fixed with #320935: Only update nodes of appropriate types (+ multiple improvements).