Error

I have got this error Message and its behaviors do not have a method or closure named "getCountUnreaded". how to solve this error?

do u checked whether the getCountUnreaded method available in Message model? and check the spelling

Actually i want to create private message… use this extension https://github.com/weavora/yii-messages…but i follow all the instruction…but still get error… i am lost now…please help me…