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
#       Time    Memory  Function        Location
1       0.0009  390920  {main}( )       ..\index.php:0
2       0.0302  1941144 Dispatcher->dispatch( ) ..\index.php:98
3       0.0493  2868976 Dispatcher->_invoke( )  ..\Dispatcher.php:86
4       0.0551  3077408 Controller->startupProcess( )   ..\Dispatcher.php:101
5       0.0818  4946424 ObjectCollection->trigger( )    ..\Controller.php:606
6       0.0818  4947488 call_user_func_array ( )        
..\ObjectCollection.php:104
7       0.0818  4947672 AuthComponent->startup( )       
..\ObjectCollection.php:0
8       0.0939  5343832 AuthComponent->_getUser( )      ..\AuthComponent.php:314
9       0.0940  5343864 AuthComponent->constructAuthenticate( ) ..
\AuthComponent.php:590

Any ideas?
Thanks.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to