• 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
    • Invalid argument supplied for foreach()

    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: Invalid argument supplied for foreach()

    • Issue Tools
      • View Changes
    1. issueid=5988 March 23, 2020 8:04 AM
      expanserpb expanserpb is offline
      Junior Member
      Invalid argument supplied for foreach()

      ErrorException: [E_WARNING] Invalid argument supplied for foreach() src/addons/vw/vw/Handler/FindNew/Comment.php:162
      Generated by: Unknown account Mar 14, 2020 at 10:27 AM
      Stack trace
      #0 src/addons/vw/vw/Handler/FindNew/Comment.php(162): XF::handlePhpError(2, '[E_WARNING] Inv...', 's...', 162, Array)
      #1 src/XF/ControllerPlugin/FindNew.php(63): vw\vw\Handler\FindNew\Comment->getResultIds(Array, '200')
      #2 src/XF/Pub/Controller/AbstractWhatsNewFindType.php(72): XF\ControllerPlugin\FindNew->runFindNewSearch(Object(vw\vw\Handler\FindNew\Comment) , Array)
      #3 src/XF/Pub/Controller/AbstractWhatsNewFindType.php(28): XF\Pub\Controller\AbstractWhatsNewFindType->triggerNewFindNewAction(Object(vw\vw\Handler\FindNew\Com ment), Array)
      #4 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\AbstractWhatsNewFindType->actionIndex(Object(XF\Mvc\ParameterBag))
      #5 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('vw\\vw:WhatsNew\\...', 'Index', Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\WhatsNew\Comments), NULL)
      #6 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\WhatsNew\Comments), NULL)
      #7 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #8 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
      #9 src/XF.php(391): XF\App->run()
      #10 index.php(20): XF::runApp('XF\\Pub\\App')
      #11 {main}
      Request state
      array(4) {
      ["url"] => string(29) "/whats-new/Folklore-comments/"
      ["referrer"] => bool(false)
      ["_GET"] => array(1) {
      ["/whats-new/Folklore-comments/"] => string(0) ""
      }
      ["_POST"] => array(0) {
      }
      }
    Issue Details
    Issue Number 5988
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version Unknown
    Fixed Version (none)
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 23, 2020 10:56 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next build.

      In the Find-New situation, these occur when find-new has found content (in this case a comment) but then that comment is deleted by the time find-new finishes loading.
      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 6:42 AM.
    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.