Could this be because of the lazy loading functionality that was added
to cake 2.0?
That would be my guess.

-flosky

On 17 Okt., 00:35, zuha <[email protected]> wrote:
> (I have searched for answers, I have attempted self-debugging for 4+ hours,
> Including going through the core up and down. )
>
> Its going to be hard to be clear on this problem but here's my best
> effort...
>
> In /lib/CAke/Controller/Component/RequestHandlerComponent.php in the
> initialize function I put these two lines (line 110 & 111 if it helps)...
>
>         debug($controller->name);
>         debug($controller->request->params);
>
> The controller name is printed as expected, but the second line gives me
> this output:
>
> *Notice* (8): Trying to get property of non-object 
> [*CORE\Cake\Controller\Component\RequestHandlerComponent.php*, line *111*]
>
> I believe this means that somehow CakeRequest is not making its way into the
> Controller being passed to the RequestHandler Component.  Since we do see
> the Controller name though (btw, we see helpers var and others too), the
> controller is there.  In the end what it does is cause a fatal error when
> the Request Handler later calls to a $this->request->parseAccept()
> function.  
>
> What would cause a controller to not load CakeRequest?

-- 
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