• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • ErrorException: [E_WARNING] Declaration of vw\vw\Handler\FindNew\base::filterResults(XF\Mvc\Entity\A rrayCollection $results) should be compatible with XF\FindNew\AbstractHandler::filterResults(XF\Mvc\Entity\A bstractCollection $results) src/addons/v

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: ErrorException: [E_WARNING] Declaration of vw\vw\Handler\FindNew\base::filterResults(XF\Mvc\Entity\A rrayCollection $results) should be compatible with XF\FindNew\AbstractHandler::filterResults(XF\Mvc\Entity\A bstractCollection $results) src/addons/v

    • Issue Tools
      • View Changes
    1. issueid=6100 October 7, 2020 6:54 AM
      hollosch hollosch is offline
      Senior Member
      ErrorException: [E_WARNING] Declaration of vw\vw\Handler\FindNew\base::filterResults(XF\Mvc\Entity\A rrayCollection $results) should be compatible with XF\FindNew\AbstractHandler::filterResults(XF\Mvc\Entity\A bstractCollection $results) src/addons/v

      ErrorException: [E_WARNING] Declaration of vw\vw\Handler\FindNew\base::filterResults(XF\Mvc\Entity\A rrayCollection $results) should be compatible with XF\FindNew\AbstractHandler::filterResults(XF\Mvc\Entity\A bstractCollection $results) src/addons/vw/vw/Handler/FindNew/base.php:127
      Generiert von: Unbekanntes Konto 7. Oktober 2020 um 12:50
      Stack-Trace
      #0 src/addons/vw/vw/Handler/FindNew/base.php(21): XF::handlePhpError()
      #1 src/vendor/composer/ClassLoader.php(444): include('/data/vhosts/re...')
      #2 src/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile()
      #3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
      #4 src/addons/vw/vw/Handler/FindNew/Page.php(19): spl_autoload_call()
      #5 src/vendor/composer/ClassLoader.php(444): include('/data/vhosts/re...')
      #6 src/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile()
      #7 [internal function]: Composer\Autoload\ClassLoader->loadClass()
      #8 [internal function]: spl_autoload_call()
      #9 src/XF/Repository/FindNew.php(72): class_exists()
      #10 src/XF/ControllerPlugin/FindNew.php(87): XF\Repository\FindNew->getFindNewHandler()
      #11 src/XF/Pub/Controller/AbstractWhatsNewFindType.php(20): XF\ControllerPlugin\FindNew->getFindNewHandler()
      #12 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\AbstractWhatsNewFindType->actionIndex()
      #13 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
      #14 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
      #15 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
      #16 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
      #17 src/XF.php(464): XF\App->run()
      #18 index.php(20): XF::runApp()
      #19 {main}
      Status der Anfrage
      array(4) {
      ["url"] => string(29) "/whats-new/wiki-pages/876010/"
      ["referrer"] => bool(false)
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(0) {
      }
      }
    Issue Details
    Issue Number 6100
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 4.1.0
    Fixed Version 4.1.1
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. October 7, 2020 5:16 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. This occurred due to a callback signature change around XenForo 2.2.0 Beta 3-4.

      If you are using a later version and have this error, you can workaround the problem by editing src/addons/vw/vw/Handler/FindNew/base.php. Find:
      Code:
      \XF\Mvc\Entity\ArrayCollection $results
      Replace with:
      Code:
      \XF\Mvc\Entity\AbstractCollection $results
      Reply Reply  
    2. October 13, 2020 12:51 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I encountered the same issue when trying to upgrade to XF 2.2 and my site is down because of it. Luckily I tested it on a staging site, so no harm done. The above does not fix it though.

      Please note that XF has just release XF2.2.1 with a security fix, so its most likely that many will want to upgrade to XF 2.2.1 immediately. So you may get a lot more people upgrading resulting in their site breaking on VW. Fixing this in the current package may be worthwhile.
      I would like to upgrade my sites ASAP to close the security risk. Please advice.
      Reply Reply  
    3. October 13, 2020 3:01 PM
      pegasus pegasus is offline
      VaultWiki Team
      The above fixed it on the XF 2.2 demo site which is live here. It is literally the change which is suggested by the error message. However, the issue was only encountered when viewing the What's New tab. In all the sites I remember seeing it on, I only saw it with the Wiki Pages filter within that tab. So if your whole site was down due to an issue, it was unlikely this one. If you are experiencing this issue after applying the fix, let me remind you that you tend to have issues on your server with a long-lived PHP cache.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 2:41 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.