What is missing is a property (variable) defined in the base Controller class. Check if UsersController actually extends AppController. Or even if your AppController (if you have one) extends Controller.
/Martin On Apr 26, 3:18 pm, Mike <[email protected]> wrote: > I've upgraded two cake apps from 1.2 beta to 1.2.2.8120 Stable, one > works just fine but the other app gives me: > > Notice (8): Undefined property: UsersController::$Component [CORE\cake > \dispatcher.php, line 208] > > Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 208 > Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 194 > [main] - APP\webroot\index.php, line 88 > > I've followed the recommended upgrade path and started with a clean > cake app and then added models/controllers/views in a controlled way > one at a time and modified the config files carefully. Done it a > couple of times but can't spot exactly where the problem is > introduced. > > Could it be a change in the way components (used as extensions for > controllers) is initialized in the code or about the routing of the > urls? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
