• 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=5616 February 3, 2019 3:09 PM
      expanserpb expanserpb is offline
      Junior Member
      Invalid argument supplied for foreach()

      ErrorException: Invalid argument supplied for foreach() - vault/core/view/ui/feed/vw.php:1675
      Generated By: Administrator, A moment ago
      Stack Trace
      #0 /var/www/html/vault/core/view/ui/feed/vw.php(1675): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/var/www/html/v...', 1675, Array)
      #1 /var/www/html/vault/core/view/ui/feed/vw.php(1582): vw_UI_Feed_View->get_widget_entries(Array)
      #2 /var/www/html/vault/core/view/ui/area/vw.php(205): vw_UI_Feed_View->global_feed_widget(11)
      #3 /var/www/html/vault/core/controller/ui/area/vw.php(159): vw_UI_Area_View->view(Object(vw_UI_Area_Controller))
      #4 /var/www/html/vault/core/controller/ui/stack/vw.php(374): vw_UI_Area_Controller->view()
      #5 /var/www/html/vault/core/controller/ui/stack/vw.php(290): vw_UI_Stack_Controller->view()
      #6 /var/www/html/library/vw/XenForo/ControllerPublic/Wiki.php(70): vw_UI_Stack_Controller->execute()
      #7 /var/www/html/library/XenForo/FrontController.php(369): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #8 /var/www/html/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #9 /var/www/html/index.php(13): XenForo_FrontController->run()
      #10 {main}
      Request State
      array(3) {
      ["url"] => string(45) "https://www.theexpanse-rp.com/wiki/Characters"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(0) {
      }
      }


      All areas where this error appears are not accessible to users

      https://www.theexpanse-rp.com/wiki/Characters
      https://www.theexpanse-rp.com/wiki/Events
      https://www.theexpanse-rp.com/wiki/Events
      https://www.theexpanse-rp.com/wiki/Test-Area
      https://www.theexpanse-rp.com/wiki/Locations


      This is new to 4.0.25 and only on one of my two sites that have been upgraded.
    Issue Details
    Issue Number 5616
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Areas
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.25
    Fixed Version 4.0.25
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. February 4, 2019 11:04 AM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs if an area contains feeds but the most recently updated ones have no visible entries. In vault/core/view/ui/feed/vw.php, find:
      Code:
      $items = vw_DB::get()->query()->select($query);
      AFTER it, add:
      Code:
      $feedcache = array();
      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 7:22 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.