The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Warning Messages in Advanced Search vB 422
Using vB 4.2.2 in PHP 5.4.30
I recently upgraded to vB 422 and started getting these messages above the Advanced Search page (search.php) Warning: Declaration of vBForum_Item_SocialGroupMessage::getLoadQuery() should be compatible with vB_Model::getLoadQuery($required_query = '', $force_rebuild = false) in ..../packages/vbforum/item/socialgroupmessage.php on line 261There's an old thread on this from a year ago https://vborg.vbsupport.ru/showthrea...hlight=warning but I thought I would discuss a better fix than tinkering with error reporting There are three files with the method getLoadQuery() vb/model.php, line 481In the last two files I changed the first line to read Code:
protected function getLoadQuery($required_query = '', $force_rebuild = false) This makes the line in the last two files identical to the first. That got rid of the warning messages but I don't use socal group messages or discussions so I don't know if these changes are messing anything up. So, two questions: Is anyone else getting these warnings? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|