Object Configuration Must Be An Array Containing A "class" Element.

hello,

I’m trying to do a findall in my command:


$comp = Competition::model()->findAll();

And then I get this error: "Object configuration must be an array containing a "class" element.".

I have no problem with other findalls.

Thanks in advance

Would you check "Competition" model, or provide Competition Model code here?

The error message is not because below sentence.




$comp = Competition::model()->findAll();