Helpers are for views, not controllers. Of course it do not exists in controller.
On Sep 6, 8:14 pm, troven <[email protected]> wrote: > I've searched the net for an answer to the following error: > Notice (8): Undefined variable: commons [APP/controllers/ > profiles_controller.php, line 2388] > > I've declared it in my Controller - as you can see from the debug > output: > > Array > ( > [0] => Commons **** THIS IS IT > [1] => Html > [2] => Form > [3] => Ajax > [4] => Javascript > [5] => Cs > [6] => Display > [7] => Time > [8] => Google > ) > > Here's the stack trace, if that helps: > > ProfilesController::add() - APP/controllers/profiles_controller.php, > line 2388 > Object::dispatchMethod() - CORE/cake/libs/object.php, line 122 > Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227 > Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194 > [main] - APP/webroot/index.php, line 88 > > 100 GEEK GOD points if you track it done. > > BTW: Loving my first foray into CakePHP. Shame that the project is to > re-factor someone else's horrid source. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
