• 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: Undefined index: itemid

    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: Undefined index: itemid

    • Issue Tools
      • View Changes
    1. issueid=4826 December 1, 2016 6:24 AM
      hollosch hollosch is offline
      Senior Member
      ErrorException: Undefined index: itemid

      Code:
      Fehlerinformation
      ErrorException: Undefined index: itemid - library/vw/XenForo/Search/DataHandler/vwPage.php:142
      Generiert durch: Unbekanntes Benutzerkonto, Vor 11 Minuten
      Stapelverfolgung
      #0 ../library/vw/XenForo/Search/DataHandler/vwPage.php(142): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 142, Array)
      #1 ../library/vw/XenForo/ViewPublic/FindNew/WikiContent.php(62): vw_XenForo_Search_DataHandler_vwPage->renderResult(Object(WidgetFramework_XenForo_View1), Array, Array)
      #2 ../library/XenForo/ViewRenderer/Abstract.php(227): vw_XenForo_ViewPublic_FindNew_WikiContent->renderHtml()
      #3 ../library/XenForo/ViewRenderer/HtmlPublic.php(71): XenForo_ViewRenderer_Abstract->renderViewObject('vw_XenForo_View...', 'Html', Array, 'vw_find_new_pag...')
      #4 ../library/XenForo/ViewRenderer/Abstract.php(249): XenForo_ViewRenderer_HtmlPublic->renderView('vw_XenForo_View...', Array, 'vw_find_new_pag...', NULL)
      #5 ../library/XenForo/ViewRenderer/HtmlPublic.php(68): XenForo_ViewRenderer_Abstract->renderSubView(Object(XenForo_ControllerResponse_View))
      #6 ../library/XenForo/FrontController.php(607): XenForo_ViewRenderer_HtmlPublic->renderView('XenForo_ViewPub...', Array, 'find_new_wrappe...', Object(XenForo_ControllerResponse_View))
      #7 ../library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
      #8 ../index.php(13): XenForo_FrontController->run()
      #9 {main}
      Benötigter Status
      array(3) {
        ["url"] => string(51) "http://regio-portal.wiki/find-new/172602/wiki-pages"
        ["_GET"] => array(0) {
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 4826
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Search
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.0.15
    Fixed Version 4.0.16
    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. December 1, 2016 11:11 AM
      pegasus pegasus is offline
      VaultWiki Team
      In library/vw/XenForo/ControllerPublic/FindNew.php, find:
      Code:
      		foreach ($ids AS $id)
      		{
      			if (!isset($sorted_items["$id"]))
      			{
      				unset($ids["$id"]);
      				continue;
      			}
      Replace with:
      Code:
      		foreach ($ids AS $offset => $id)
      		{
      			if (!isset($sorted_items["$id"]))
      			{
      				unset($ids["$offset"]);
      				continue;
      			}
      In your case, this is probably due to orphan routes, but in normal usage, this would occur due to a race condition if you view search results at the same second someone is deleting the content that appears in those results.
      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 10:32 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.