调试文件中默认的Cakephp Logger输出是这样的:
2015-04-17 02:49:36 Notice: Notice (8): Undefined index: City in [/var/www/app/View/Events/view.ctp, line 57]
Trace:
include - APP/View/Events/view.ctp, line 57
View::_evaluate() - CORE/Cake/View/View.php, line 961
View::_render() - CORE/Cake/View/View.php, line 923
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 959
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 110
事情是我不知道如何解决这个因为我不知道哪个数据触发了这个通知。
所以我想知道是否有办法添加触发此通知的网页的网址?