我試圖將搜索插件到我的項目,我想我也跟着從下載網站上的指示,但每當我訪問帖子它給了我這3個行錯誤:如何配置搜索插件在CakePHP 2.0
Warning (2): call_user_func_array() expects parameter 1 to be a valid callback, class 'PrgComponent' does not have a method 'startup' [CORE\Cake\Utility\ObjectCollection.php, line 110]
Warning (2): call_user_func_array() expects parameter 1 to be a valid callback, class 'PrgComponent' does not have a method 'beforeRender' [CORE\Cake\Utility\ObjectCollection.php, line 110]
Warning (2): call_user_func_array() expects parameter 1 to be a valid callback, class 'PrgComponent' does not have a method 'shutdown' [CORE\Cake\Utility\ObjectCollection.php, line 110]
有人可以幫我解決這個問題嗎?
謝謝!
好像無論是插件或您的代碼不匹配的有效回調的2.0的要求。你有什麼搜索插件版本? – mark