我在book.cakephp中跟随示例,我尝试搜索解决方案但未找到 这个问题
Warning (512): Method PaginatorHelper::option does not exist [CORE\cake\libs\view\helper.php, line 154]
Code | Context
Helper::call__() - CORE\cake\libs\view\helper.php, line 154
Overloadable::__call() - CORE\cake\libs\overloadable_php5.php, line 50
PaginatorHelper::option() - APP\views\layouts\default.ctp, line 41
include - APP\views\layouts\default.ctp, line 41
View::_render() - CORE\cake\libs\view\view.php, line 731
View::renderLayout() - CORE\cake\libs\view\view.php, line 489
View::render() - CORE\cake\libs\view\view.php, line 435
Controller::render() - CORE\cake\libs\controller\controller.php, line 909
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 207
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 171
[main] - APP\webroot\index.php, line 83
最小化代码用户控制器和视图 enter link description here
感谢回答
答案 0 :(得分:3)
答案 1 :(得分:0)
您的代码中没有包含AjaxHelper。