I get a call to undefined function on line 322 when using a flexinode I created with two fields, one is a text field, small and one is a text area.
the line in question reads:

$function = $type."_form";