PDA

View Full Version : Need help with search error...


Barcham
03-13-2014, 04:17 PM
If anyone could help me identify the cause of this error, it would be much appreciated. When any user clicks on 'Advanced Search', instead of going to the proper advanced search page they end up receiving an error page with the following message on it. Thinking it might need a search index rebuild, I took a look in my admincp under Maintenance, and found the exact same error on the General Update Tools page, in between Fix broken user profiles and Rebuild Search Index sections.

I don't know what should normally be there, but something tells me that it might have something to do with Social Groups.

Anyways...at the moment my advanced search page is broken and if someone could point me in the right direction it would be MUCH appreciated! :D

Warning: Declaration of vBForum_Item_SocialGroupMessage::getLoadQuery() should be compatible with that of vB_Model::getLoadQuery() in ..../packages/vbforum/item/socialgroupmessage.php on line 261

ForceHSS
03-13-2014, 04:22 PM
https://vborg.vbsupport.ru/showpost.php?p=2480664&postcount=11
https://vborg.vbsupport.ru/showpost.php?p=2476633&postcount=2

Barcham
03-13-2014, 04:28 PM
I did a search and came across a post on the vBulletin official forums that suggest adding this line to the config.php file. I added the line and everything seems fine now, both in the advanced search page as well as the maintenance panel. Would there be any reason not to add this line and go with the fix you linked to instead?

http://www.vbulletin.com/forum/forum/vbulletin-announcements/vbulletin-announcements_aa/4000121-vbulletin-4-2-2-full-has-been-released

define('SKIP_ALL_ERRORS', true);

ForceHSS
03-13-2014, 04:28 PM
That hides the errors but does not fix the problem

ozzy47
03-13-2014, 04:37 PM
On a side note, those are warnings, not errors. :)

Barcham
03-13-2014, 04:38 PM
OK, I much prefer to correct a problem than to ignore it.

I went back and re-edited the config.php to remove the line I added and added the correction to the socialgroup files. Now everything still works perfectly and I have the comfort of knowing that any further errors or warnings will be reported instead of ignored!

Thank you VERY much!!! :D

ForceHSS
03-13-2014, 06:09 PM
Happy to help I hope you installed the other fixes as well

Barcham
03-13-2014, 06:27 PM
Modifying the class_core.php gave me an error when using advanced search so I have left that one alone. Everything seems to be working fine without doing that modification.

ForceHSS
03-13-2014, 07:52 PM
Make sure you put in the fixes right if you need help pm me can do them for you