Error triggered by CActiveFinder::populateRecord() at line 784:
...
foreach($this->_pkAlias as $name=>$alias)
...
The cause of the error is that Yii does not support database tables with no primary key and when we delete a profile field the table is re-created without primary key.
How to reproduce:
What do we see on User module homepage:
Error triggered by CActiveFinder::populateRecord() at line 784:
The cause of the error is that Yii does not support database tables with no primary key and when we delete a profile field the table is re-created without primary key.
Here is an issue on the topic: https://code.google.com/p/yii/issues/detail?id=2922
Before deletion of the profile field the table structure is:
After:
Most probably the solution will be to fix ProfileFieldController::actionDelete()