• 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
    • System Error log missing index canview vault/core/model/plugins/forum/vw.php:233

    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: System Error log missing index canview vault/core/model/plugins/forum/vw.php:233

    • Issue Tools
      • View Changes
    1. issueid=6011 April 5, 2020 12:17 PM
      tommythejoat tommythejoat is offline
      Regular Member
      System Error log missing index canview vault/core/model/plugins/forum/vw.php:233
      The error below is being generated roughly every 30 seconds continuously. 4.0.27 pl1 (not in list)

      This is the log entry below. Apparently these errors began around March 17th and there are currently a bit over 1.2 million reports with them appearing every 30 seconds or so. I disabled VaultWiki in the options, but I think the errors persist. I takes several minutes now to scan the error log.
      Code:
      Error Info
      ErrorException: Undefined index: canview - vault/core/model/plugins/forum/vw.php:233
      Generated By: Unknown Account, 2 minutes ago
      Stack Trace
      #0 /home/xfnawcc/public_html/vault/core/model/plugins/forum/vw.php(233): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/xfnawcc/p...', 233, Array)
      #1 /home/xfnawcc/public_html/vault/core/model/plugins/forum/xf.php(33): vw_Plugins_Forum_Model->forumbit_display(Array, 9999, 10000, true)
      #2 /home/xfnawcc/public_html/library/vw/XenForo/NodeHandler/Integrate.php(56): vw_Plugins_Forum_Model_XF->forumbit_display(Array, 9999, 10000, true)
      #3 /home/xfnawcc/public_html/library/XenForo/ViewPublic/Helper/Node.php(50): vw_XenForo_NodeHandler_Integrate->renderNodeForTree(Object(vw_XenForo_ViewPublic_Forum_List), Array, Array, Array, 4)
      #4 /home/xfnawcc/public_html/library/XenForo/ViewPublic/Helper/Node.php(43): XenForo_ViewPublic_Helper_Node::renderNodeTree(Object(vw_XenForo_ViewPublic_Forum_List), 388, Array, Array, Array, 4)
      #5 /home/xfnawcc/public_html/library/XenForo/ViewPublic/Helper/Node.php(43): XenForo_ViewPublic_Helper_Node::renderNodeTree(Object(vw_XenForo_ViewPublic_Forum_List), 441, Array, Array, Array, 3)
      #6 /home/xfnawcc/public_html/library/XenForo/ViewPublic/Helper/Node.php(43): XenForo_ViewPublic_Helper_Node::renderNodeTree(Object(vw_XenForo_ViewPublic_Forum_List), 3, Array, Array, Array, 2)
      #7 /home/xfnawcc/public_html/library/XenForo/ViewPublic/Helper/Node.php(74): XenForo_ViewPublic_Helper_Node::renderNodeTree(Object(vw_XenForo_ViewPublic_Forum_List), 0, Array, Array, Array, 1)
      #8 /home/xfnawcc/public_html/library/XenForo/ViewPublic/Forum/List.php(19): XenForo_ViewPublic_Helper_Node::renderNodeTreeFromDisplayArray(Object(vw_XenForo_ViewPublic_Forum_List), Array)
      #9 /home/xfnawcc/public_html/library/vw/XenForo/ViewPublic/Forum/List.php(26): XenForo_ViewPublic_Forum_List->renderHtml()
      #10 /home/xfnawcc/public_html/library/XenForo/ViewRenderer/Abstract.php(229): vw_XenForo_ViewPublic_Forum_List->renderHtml()
      #11 /home/xfnawcc/public_html/library/XenForo/ViewRenderer/HtmlPublic.php(71): XenForo_ViewRenderer_Abstract->renderViewObject('XenForo_ViewPub...', 'Html', Array, 'forum_list')
      #12 /home/xfnawcc/public_html/library/XenForo/FrontController.php(625): XenForo_ViewRenderer_HtmlPublic->renderView('XenForo_ViewPub...', Array, 'forum_list', NULL)
      #13 /home/xfnawcc/public_html/library/XenForo/FrontController.php(176): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
      #14 /home/xfnawcc/public_html/index.php(13): XenForo_FrontController->run()
      #15 {main}
      Request State
      array(3) {
        ["url"] => string(21) "https://mb.nawcc.org/"
        ["_GET"] => array(0) {
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 6011
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 4.0.27
    Fixed Version (none)
    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 runaway error generation




    1. April 5, 2020 5:28 PM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs when inserting wiki areas into the forum list in XenForo 1.x in 4.0.x only. In vault/core/model/plugins/forum/vw.php, find:
      Code:
      if (!$insert['canview'])
      Replace with:
      Code:
      if (empty($insert['canview']))
      As of 4.1.x, this code is only run by vBulletin, which never uses it in a context where $insert['canview'] is undefined.
      Reply Reply  
    2. April 6, 2020 2:40 AM
      tommythejoat tommythejoat is offline
      Regular Member
      Thank you. That took care of it.
      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 1:00 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.