Yii Private Messaging extension

Hello everyone,

I encountered really big problems using this extension:

http://www.yiiframework.com/extension/private-messaging/

The problem is:

Trying to get property of non-object

in here


array(

					'url' => Yii::app()->getModule('message')->inboxUrl,

					'label' => 'Messages' .

						(Yii::app()->getModule('message')->getCountUnreadedMessages(Yii::app()->user->getId()) ?

							' (' . Yii::app()->getModule('message')->getCountUnreadedMessages(Yii::app()->user->getId()) . ')' : ''),

					'visible' => !Yii::app()->user->isGuest),

This line exactly:


'url' => Yii::app()->getModule('message')->inboxUrl,

So I guess it’s problem with getModule(‘message’) being NULL here. But I didn’t do anything wrong, I just installed it as in the link I posted. Aby ideas? I tried fixing it for hours… no effect :(