Odd Error Message in Maintenance Section of Admincp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Allthumbz
    Senior Member
    • Oct 2011
    • 190

    Odd Error Message in Maintenance Section of Admincp

    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


    How do I get rid of this?

    Thanks in advance!
    Nelson
    www.Hobby-Machinist.com
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    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

    • Allthumbz
      Senior Member
      • Oct 2011
      • 190

      #3
      Thank you. But that just SUPPRESSES the error.

      How can I fix it?

      I never had that error before.
      It happened after I tried to uninstall a chat program that was misbehaving MCG EVO chat.
      All of a sudden, this error appeared.
      Did I delete a file I should not have or something?
      Can I put it back and stop the error.
      Nelson
      www.Hobby-Machinist.com

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73981

        #4
        The instructions to fix it are in the post above yours.

        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);
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • Allthumbz
          Senior Member
          • Oct 2011
          • 190

          #5
          Yes, I understand. But what exactly is that error and where is it emanating from?
          Nelson
          www.Hobby-Machinist.com

          Comment

          • Zachery
            Former vBulletin Support
            • Jul 2002
            • 59097

            #6
            Its a non error error, it will be fixed in 4.2.3. But for now, its just a notice, turn off the display of them so your site operates correctly.

            Comment

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

              #7
              Originally posted by Allthumbz
              Yes, I understand. But what exactly is that error and where is it emanating from?
              Its not an error, its a warning (as it states).
              The origin is also in the message.
              A change in php means it now generates warnings when it did not used to.
              The warning, and its cause are fixed in 4.2.3.

              Until you upgrade, use
              Code:
              define('SKIP_DS_ERRORS', true);
              in your config file, this stops vb displaying the new warnings that php puts out.
              Baby, I was born this way

              Comment

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