search.php Warnings

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mellnik
    Member
    • Jan 2012
    • 32

    search.php Warnings

    Just setup vb4 and now I get this warning at search.php


    Warning: 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 337



    Also the alignment there is wrong:
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    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...-been-released


    Comment

    • Mellnik
      Member
      • Jan 2012
      • 32

      #3
      Ah thanks for the info. It does work now.

      Comment

      • ozzy47
        Senior Member
        • Oct 2009
        • 215

        #4
        You should use:
        PHP Code:
        define('SKIP_DS_ERRORS'true); 
        This turns off the extra error reporting in php 5.3 & 5.4 (for strict & deprecated warnings), but will allow other important errors to show.
        My Mods also available at OzzModz.com

        New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders!
        Stop Spam Now The era of Big Spam is over.

        Vote to bring back hooks in vB5, http://tracker.vbulletin.com/browse/VBV-10333

        Comment

        • Paul M
          Former Lead Developer
          vB.Com & vB.Org
          • Sep 2004
          • 9886

          #5
          Originally posted by Zachery
          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...-been-released

          Please use "SKIP_DS_ERRORS" not "SKIP_ALL_ERRORS".
          Baby, I was born this way

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...