Catchable fatal error fixed on line 122

I change the Series instance to SeriesData. I explain in the commit.
Please, let me know if this is not correct!