Not sure why my array is not allowed to use a function (OOP)

post your attempt and show your entire code and we will have a look

you are almost there