1180: Call to a possibly undefined method error for DEFINED method

Hi,

I am getting 1180: Call to a possibly undefined method error
for method that I have defined as you can see in attachment.

Thanks