rickiey
(Rick)
1
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
qianggan
(qianggan@msn.com)
2
Would you check "Competition" model, or provide Competition Model code here?
qianggan
(qianggan@msn.com)
3
The error message is not because below sentence.
$comp = Competition::model()->findAll();