PDA

View Full Version : error in db


imanutter
07-25-2015, 10:55 AM
I have looked to check I was not double posting.

I don't understand this error.

Warning: Declaration of vBForum_Item_SocialGroupMessage::getLoadQuery() should be compatible with vB_Model::getLoadQuery($required_query = '', $force_rebuild = false) in ..../packages/vbforum/search/result/socialgroupmessage.php on line 24

Warning: Declaration of vBForum_Item_SocialGroupDiscussion::getLoadQuery() should be compatible with vB_Model::getLoadQuery($required_query = '', $force_rebuild = false) in ..../packages/vbforum/search/result/socialgroupdiscussion.php on line 24
Help Rebuild Search Index

Thanks in advance

RichieBoy67
07-25-2015, 11:30 AM
Add this to your config.php under the <?php

define('SKIP_ALL_ERRORS', true);

What version of Vbulletin are you using? You should probably update to Vbulletin 4.2.3.

kh99
07-25-2015, 12:15 PM
If you search for part of the error message like maybe "vBForum_Item_SocialGroupDiscussion", you'll find a lot of threads mentioning it. You can edit the two files mentioned in the error message and make the lines look like what it shows in the error message (I think you just have to add the = '' after $required_query), or you can suppress all displayed messages by adding
define('DISPLAY_DS_ERRORS', false);

to your config.php. Or you can upgrade to 4.2.3, which would probably be the best idea (but it does need at least php 5.4).

imanutter
07-25-2015, 01:57 PM
Thank you both ill make them changes now..well hopefully.