[วิธีทำ] Warning: Declaration of vBForum_Item_SocialGroupMessage::getLoadQuery()

admin

Staff Member
Administrator
Code:
"Warning: Declaration of vBForum_Item_SocialGroupMessage::getLoadQuery() should be compatible with that of vB_Model::getLoadQuery() in ..../packages/vbforum/item/socialgroupmessage.php on line 0

Warning: Declaration of vBForum_Item_SocialGroupDiscussion::getLoadQuery() should be compatible with that of vB_Model::getLoadQuery() in ..../packages/vbforum/item/socialgroupdiscussion.php on line 0"
How to fix it and why it's happens?

Hello,

I solved the problem in the following way:

1. - GetLoadQuery function edit the files "socialgroupmessage.php" and "socialgroupdiscussion.php" found in "packages/vbforum/item/"
2. - The original function reads:
Code:
protected function getLoadQuery($required_query, $force_rebuild = false)
3. - Change the function to this:
Code:
protected function getLoadQuery($required_query[B] [COLOR=#ff0000]= self::QUERY_BASIC[/COLOR][/B], $force_rebuild = false)
I hope they can!
 

สมาชิกที่ออนไลน์

ไม่มีสมาชิกที่ออนไลน์ในตอนนี้.

แฟนเพจ


Top Bottom