Dead Men Walking

dMw Chit Chat => The Beer Bar => Seriously though ... => Topic started by: Galatoni on March 29, 2015, 10:50:37 PM

Title: Warning when searching.
Post by: Galatoni on March 29, 2015, 10:50:37 PM
Hi. I can't post in the web section of the forum, so thought I'd put it here:

When searching - i got this:
QuoteWarning: 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 261

Warning: Declaration of vBForum_Item_SocialGroupDiscussion::getLoadQuery() should be compatible with vB_Model::getLoadQuery($required_query = '', $force_rebuild = false) in..../packages/vbforum/item/socialgroupdiscussion.php on line 337fdf

you prolly wanna turn warnings off in the php.ini
Title: Warning when searching.
Post by: Blunt on March 29, 2015, 11:18:24 PM
Turn off your hax Galatoni!


:P
Title: Warning when searching.
Post by: smilodon on March 30, 2015, 12:30:39 AM
It's a bug in the forum software. We shouldn't really be seeing php warnings like this at all as they are not errors but warnings that one thing might not be compatible with another thing. As there's no actual consequence of this incompatibility, other than they warning being annoying, they really shouldn't be showing up at all. However I believe the last update 4.2.2 of VBulletin (our forum platform) turned them back on, for reasons no one can really explain? Sadly Vbulletin are no longer supporting V4 anymore and have moved on to V5. So I'm doubtful they will fix this bug. As and when it does appear I would basically just ignore it.
Title: Warning when searching.
Post by: Galatoni on March 30, 2015, 04:50:39 AM
Oh. Ok then. Just inline error_reporting(error-reporting - E_WARN); in that script then.
Title: Warning when searching.
Post by: Galatoni on March 30, 2015, 04:51:34 AM
I hate when environment stuff gets reverted like that. Really annoying.