Adding gform_pre_render and a function without any code in it breaks the form [RESOLVED]

Filters expect the initial parameter to be returned.

So a ‘do nothing’ example would need to at minimum be:

add_filter( ‘gform_pre_render_1’, ‘observation_form_setup’, 10);

function observation_form_setup( $form ){
//do nothing
return $form
}