strtolower() expects parameter 1 to be string, array given

PLEASE HELP!

Hi people!

Being at the page 209 in the book, after pasting all the code and trying to go to localhost/trackstar/index.php?r=project I get this error:

Where can this part be invoked from? I was struggling to find out the problem, but I couldn’t. Can anyone help me, please? Thank you in advance.

please paste your filter() and accessRules() methods from ProjectController.

It’s solved. The problem was double access rules in the accessRules() method, so 2 times this:


array('allow', // allow all users to perform 'index' and 'view' actions

				'actions'=>array('index','view', 'adduser'),

				'users'=>array('@'),




Thank you so much, Ivica, you took a headache of a half week with your post. Hvala!!