TypeError thrown

call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "set_gravityform_state" not found or invalid function name