2014-03-27 62 views
0

我不明白這個錯誤代碼,有人可以解釋這個日誌嗎?我會盡力修復錯誤,但我需要一點幫助。社交引擎4主要日誌如何修復錯誤?

2014-02-22T12:44:46+00:00 WARN (4): [2048] Declaration of Wall_Model_DbTable_Actions::getActivity() should be compatible with Activity_Model_DbTable_Actions::getActivity(User_Model_User $user, array $params = Array) (/home/socpt613/public_html/application/modules/Wall/Model/DbTable/Actions.php) [22] 
Error Code: 856062 
Stack trace: 
#0 /home/socpt613/public_html/application/libraries/Engine/Loader.php(103): include_once('/home/socpt613/public_html/appli...') 
#1 /home/socpt613/public_html/application/libraries/Engine/Loader.php(130): Engine_Loader::autoload('Wall_Model_DbTable_Actions') 
#2 /home/socpt613/public_html/application/libraries/Engine/Loader.php(160): Engine_Loader::loadClass('Wall_Model_DbTable_Actions') 
#3 /home/socpt613/public_html/application/libraries/Engine/Api.php(268): Engine_Loader->load('Wall_Model_DbTable_Actions') 
#4 /home/socpt613/public_html/application/libraries/Engine/Api.php(241): Engine_Api->load('wall', 'dbtable', 'actions') 
#5 /home/socpt613/public_html/application/modules/Wall/widgets/feed/Controller.php(196): Engine_Api->__call('getDbtable', Array) 
#6 /home/socpt613/public_html/application/modules/Wall/widgets/feed/Controller.php(196): Engine_Api->getDbtable('actions', 'wall') 
#7 /home/socpt613/public_html/application/libraries/Engine/Content/Widget/Abstract.php(254): Wall_Widget_FeedController->indexAction() 
#8 /home/socpt613/public_html/application/libraries/Engine/Content/Element/Widget.php(73): Engine_Content_Widget_Abstract->render() 
#9 /home/socpt613/public_html/application/libraries/Engine/Content/Element/Abstract.php(583): Engine_Content_Element_Widget->_render() 
#10 /home/socpt613/public_html/application/libraries/Engine/Content/Decorator/Children.php(31): Engine_Content_Element_Abstract->render() 
#11 /home/socpt613/public_html/application/libraries/Engine/Content/Element/Abstract.php(594): Engine_Content_Decorator_Children->render('') 
#12 /home/socpt613/public_html/application/libraries/Engine/Content/Decorator/Children.php(31): Engine_Content_Element_Abstract->render() 
#13 /home/socpt613/public_html/application/libraries/Engine/Content/Element/Abstract.php(594): Engine_Content_Decorator_Children->render('') 
#14 /home/socpt613/public_html/application/libraries/Engine/Content/Decorator/Children.php(31): Engine_Content_Element_Abstract->render() 
#15 /home/socpt613/public_html/application/libraries/Engine/Content/Element/Abstract.php(594): Engine_Content_Decorator_Children->render('') 
#16 /home/socpt613/public_html/application/libraries/Engine/Content.php(208): Engine_Content_Element_Abstract->render() 
#17 /home/socpt613/public_html/application/libraries/Engine/Content/Controller/Action/Helper/Content.php(136): Engine_Content->render('user_index_home') 
#18 /home/socpt613/public_html/application/libraries/Engine/Content/Controller/Action/Helper/Content.php(38): Engine_Content_Controller_Action_Helper_Content->render() 
#19 /home/socpt613/public_html/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Engine_Content_Controller_Action_Helper_Content->postDispatch() 
#20 /home/socpt613/public_html/application/libraries/Zend/Controller/Action.php(523): Zend_Controller_Action_HelperBroker->notifyPostDispatch() 
#21 /home/socpt613/public_html/application/libraries/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('homeAction') 
#22 /home/socpt613/public_html/application/libraries/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Zend_Controller_Request_Http, Zend_Controller_Response_Http) 
#23 /home/socpt613/public_html/application/modules/Core/Bootstrap.php(75): Zend_Controller_Front->dispatch() 
#24 /home/socpt613/public_html/application/libraries/Engine/Application.php(160): Core_Bootstrap->run() 
#25 /home/socpt613/public_html/application/index.php(205): Engine_Application->run() 
#26 /home/socpt613/public_html/index.php(24): include('/home/socpt613/public_html/appli...') 
#27 {main} 

我有更多的錯誤,但我只需要解釋一個。 我有一個授權SE4.7插件和許可HIRE專家插件,但如果我安裝HIRE EXPERT插件,我的日誌有更多的錯誤。 :(發生在模塊牆

回答

0

錯誤,在小部件飼料的控制器。有在獲得標準活動的模式和自定義模式(Wall_Model_DbTable_Actions/Activity_Model_DbTable_Actions)之間的活動信息源項目的能力問題。

0

這僅僅是一個兼容。問題 你可以比較這些方法的declration,你會看到其中的差別:

Wall_Model_DbTable_Actions::getActivity(User_Model_User $user, $params = array()) 

Activity_Model_DbTable_Actions::getActivity(User_Model_User $user, array $params = Array) 

第二個參數之前添加陣列,它會解決這個警告錯誤

希望這對你有所幫助。