Combining 2 root files in a new histogram TH2F - How do you fill Histograms from Chains?

Error: G__getvariable: expression

This is the error that gave me, but I don’t know how or where is this error, the same question of years before (How do you fill Histograms from Chains?), for I may fix.

Thanks