Tuesday, September 24, 2013

DebugKit function/array problem (Function name must be a string ; ToolbarComponent.php)

Hey all, I got a weird issue. I've got two identical (Same config, etc etc. Copied webroot to another site/domain) installation of cakePHP 2.4.1, with DebugKit 2.2.1. Only thing different is the domain they load from.

Site one works great. Site two does not. I get -

Fatal error: Function name must be a string in /home/crec/public_html/app/Plugin/DebugKit/Controller/Component/ToolbarComponent.php on line 195

Fatal error: Function name must be a string in /home/crec/public_html/app/Plugin/DebugKit/Controller/Component/ToolbarComponent.php on line 195

I actually am required to use the DebugKit by the auth system my developer has built. So I can't just turn it off unfortunately.

Any ideas? I tried downgrading and nothing is working. The code does show functions like $before('blah') and $after('blah') which has been the way DebugKit does it in other versions.


--
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/groups/opt_out.

No comments: