First time here? Check out the FAQ!
answered 2019-12-11 10:16:56 +0000
As per README.dissector:
proto_tree_add_none_format is used to add an item of type FT_NONE.
So the hf field use with the call must have the correct type, as per your error message you aren't doing that.