กรุณาปิด โปรแกรมบล๊อกโฆษณา เพราะเราอยู่ได้ด้วยโฆษณาที่ท่านเห็น
Please close the adblock program. Because we can live with the ads you see


thxf.org

How To Warning: Declaration of vBForum_Item_SocialGroupMessage::getLoadQuery()

thxf.org 

Administrator

Staff member
Admin
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:
PHP:
protected function getLoadQuery($required_query, $force_rebuild = false)
3. - Change the function to this:
PHP:
protected function getLoadQuery($required_query = self::QUERY_BASIC, $force_rebuild = false)

I hope they can!
 



กรุณาปิด โปรแกรมบล๊อกโฆษณา เพราะเราอยู่ได้ด้วยโฆษณาที่ท่านเห็น
Please close the adblock program. Because we can live with the ads you see
Back
Top Bottom