Why am i getting this error in my method?

Printable View