Error in SIR and Generating simulated dataframe

Hello Pumas Community,

I was trying to do the following functions, I got the errors and I am attaching the screenshot of those errors with this.

sir = infer(onecomp_bm_fit, SIR(samples = 100, resamples = 20)) this function
simulated_original_df = DataFrame(onecomp_bm_original_sims)

Kindly help me to rectify this error
Thank you!!