Warning when searching.

Started by Galatoni, March 29, 2015, 10:50:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Galatoni

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
"Forewarned is forearmed"

Blunt

Turn off your hax Galatoni!


:P
Regards
Blunt


People who blow things out of proportion are worse than Hitler.


smilodon

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.
smilodon
Whatever's gone wrong it's not my fault.

Galatoni

Oh. Ok then. Just inline error_reporting(error-reporting - E_WARN); in that script then.
"Forewarned is forearmed"

Galatoni

I hate when environment stuff gets reverted like that. Really annoying.
"Forewarned is forearmed"