What(): SPlot input argument is not of type RooRealVar/RooLinearVar

Thank you. I found the official solution:
ratios as yield parameters