Thursday, May 22, 2014

Fatal Error: Undefined variable: before [APP/Plugin/DebugKit/Controller/Component/ToolbarComponent.php, line 194]

The DebugKit ToolbarComponent is giving me a fatal error, 
when I set

 Configure::write('debug', 2);

in APP/Config/core.php

I'm on PHP version 5.5.12, on my server.
Locally, I'm on PHP version 5.5.9, with no problems.

-------------------------------
I am able to workaround the problem by "skipping" the function causing the problem  in the file:

  app/Plugin/DebugKit/Controller/Component/ToolbarComponent.php

as follows:

    public function implementedEvents() {
        return array();
    }


--------------------------------------------

Does anyone have a better solution?

Thx!
:-D




--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: