need help with CTreeView

I’ve just started playing with Yii framework for the first time yesterday.

I want to create a “static nested list of multiple links”… using CTreeView. The problem is I can’t even get a single list item to show up without an error.


Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in…

What does that mean and why is my code not working?


Just figured out what was wrong… Missing an array.


Should be:


I happened to discover by comparing my code to the example here:

(not allowing me to post embed link since I’m new user)

Is a great resource!