View Full Version : Update to vb 4.2.2 caused Article Section error?
Haponing
01-25-2014, 02:33 AM
We updated to vBulletin 4.2.2 and I was trying to delete an inappropriate post in our Articles Section. But when I clicked delete in the editor, this error came up:
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
Warning: Declaration of vBForum_Item_SocialGroupDiscussion::getLoadQuery() should be compatible with that of vB_Model::getLoadQuery() in ..../packages/vbforum/item/socialgroupdiscussion.php on line 337
Did anybody else encounter this? What could be the cause for this error?
And also, how do you backup the forum database? Like storing all the posts, member info, etc in a file?
RichieBoy67
01-25-2014, 02:43 AM
Just posted on this a few hours ago and the fix is easily searchable. It is easily fixable in a minute or 2 by editing a single file. :)
https://vborg.vbsupport.ru/showthread.php?t=307453
To back up go into your server cpanel and run an export using phpadmin or if you have root access use putty. If you go that route that us know and we will post the dump commands.
BlooD
03-18-2014, 05:34 PM
Hi everyone,
After you update the vBulletin 4.2.2 Patch Level 1 option'' Search'' in the forum works for the admin, not for members?.
I point out that the change was made in the file class_core.php:
case E_NOTICE: // Just ignore these completely //
break;
replace
case E_NOTICE: case E_STRICT;
case E_DEPRECATED;
// Just ignore these completely //
break;
I would be grateful for any help you could give me.
My sincere thanks!
Lynne
03-18-2014, 05:44 PM
As of vBulletin 4.2.2, notices and warnings are no longer suppressed by default like in previous versions of the software. This means that on some servers, you may see warnings that you never saw before. In order to stop them from showing, please add the following line to your config.php file under the <?php line:
define('SKIP_ALL_ERRORS', true);
BlooD
03-18-2014, 06:01 PM
Hi Admin,
or exactly the config.php over présition please.
I recall that my problem is at the option'' Search''.
Thank you for your reply
ForceHSS
03-18-2014, 06:04 PM
Hi Admin,
or exactly the config.php over pr?sition please.
I recall that my problem is at the option'' Search''.
Thank you for your reply
Ne pas mettre la ligne dans la config que ce n'est pas une utilisation fixe le correctif sur deux colonnes
English
Do not put the line in the config that will not fixed it use the fix from post three
ozzy47
03-18-2014, 08:05 PM
Ne pas mettre la ligne dans la config que ce n'est pas une utilisation fixe le correctif sur deux colonnes
Now you know better than that. :)
RichieBoy67
03-18-2014, 08:09 PM
Here I translated
Force said
Do not put the line in the config that is not fixed use the patch on two columns
:)
ForceHSS
03-18-2014, 08:13 PM
Was close but a little bit off Richie
Now you know better than that. :)
post updated
Lionel
03-18-2014, 09:26 PM
Hey Force, I never knew you spoke French. Donc tu es normal et civilise
ForceHSS
03-18-2014, 09:38 PM
Hey Force, I never knew you spoke French. Donc tu es normal et civilise
Google translator for most of it, I learnt some when I was younger, but most I have forgotten its hard to remember it all if not used all the time
Lynne
03-18-2014, 10:20 PM
Most likely, if you are getting that warning, then there are others that aren't suppressed also and can cause issues on your site. I would strongly suggest adding that line to your config.php file.
Zachery
03-18-2014, 10:24 PM
Hello,
As of vBulletin 4.2.2 we’ve stopped suppressing notices and warnings. This is a change from all previous versions of the software.
In some environments more notices/warnings show than in others. In order to address the issue you just need to add the following line to your config.php file
define('SKIP_ALL_ERRORS', true);
You can see additional information about this change here: http://www.vbulletin.com/forum/forum/vbulletin-announcements/vbulletin-announcements_aa/4000121-vbulletin-4-2-2-full-has-been-released
Lionel
03-18-2014, 10:31 PM
That single line in config.php got rid of all errors I was getting, specially in admincp.
Google translator for most of it, I learnt some when I was younger, but most I have forgotten its hard to remember it all if not used all the time
Google is great, Thanks to them, I get to impress some girls with my Hebrew, my Russian and once I ventured in Chinese
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.