I think I solved this problem. I had the following code in the app
controller:
function beforeFilter() {
parent::beforeFilter();
if ($this->action == 'add' || $this->action == 'edit')
$this->Auth->authenticate = $this->User;
}
I added the following check and the pr
When not logged in and trying to access "users/edit/3" , instead of
seeing an Auth error message I get the following error:
Fatal error: Cannot use object of type User as array in C:\wamp\www
\cake\lib\Cake\Controller\Component\AuthComponent.php on line 661
Call Stack
# TimeMemory Funct