Can someone help me work out just what I happening here.
I have an ajax function on my controller, when it returns the json it flags up some undefined variable notices even though I have Configure::write('debug', 0)
at the top of the function.
Outputting Configure::read("debug")
in the function shows zero correctly.
If I change the debug to 0 in the core.php the messages disappear however.
Does anyone know why I may still be getting notices? I really can't think where its going wrong
Thanks