• 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: total

    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: total

    • Issue Tools
      • View Changes
    1. issueid=4096 December 9, 2014 9:23 AM
      Vilandra Vilandra is offline
      New Member
      ErrorException: Undefined index: total

      I have a lot of these errors in my server logs:

      Code:
      ErrorException: Undefined index: total - vault/core/view/ui/discussion/vw.php
      
      [B]Stack Trace[/B]
      
      #0 /home/public_html/amalgam/vault/core/view/ui/discussion/vw.php(602): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/buffyboa/...', 602, Array)
      #1 /home/public_html/amalgam/vault/core/controller/ui/discussion/vw.php(1748): vw_UI_Discussion_View->index(Object(vw_UI_Discussion_Controller_XF))
      #2 /home/public_html/amalgam/vault/core/controller/ui/discussion/vw.php(150): vw_UI_Discussion_Controller->view()
      #3 /home/public_html/amalgam/vault/core/controller/ui/discussion/xf.php(69): vw_UI_Discussion_Controller->execute()
      #4 /home/public_html/amalgam/vault/core/view/ui/page/vw.php(200): vw_UI_Discussion_Controller_XF->execute()
      #5 /home/public_html/amalgam/vault/core/view/ui/page/vw.php(119): vw_UI_Page_View->get_comments(Object(vw_UI_Page_Controller), false)
      #6 /home/buffyboa/public_html/amalgam/vault/core/controller/ui/page/vw.php(739): vw_UI_Page_View->view(Object(vw_UI_Page_Controller))
      #7 /home/public_html/amalgam/vault/core/controller/ui/stack/vw.php(251): vw_UI_Page_Controller->view()
      #8 /home/public_html/amalgam/vault/core/controller/ui/stack/vw.php(183): vw_UI_Stack_Controller->view()
      #9 /home/public_html/amalgam/library/vw/XenForo/ControllerPublic/Wiki.php(68): vw_UI_Stack_Controller->execute()
      #10 /home/public_html/amalgam/library/XenForo/FrontController.php(347): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #11 /home/public_html/amalgam/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #12 /home/public_html/amalgam/index.php(13): XenForo_FrontController->run()
      #13 {main}
      
      [B]Request State[/B]
      
      array(3) {
        ["url"] => string(49) "http://url/to/wiki/?title=Characters"
        ["_GET"] => array(1) {
          ["title"] => string(10) "Characters"
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 4096
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Admin Panel
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.0.0 RC 4
    Fixed Version 4.0.0 RC 5
    Milestone VaultWiki 4.0 Gold
    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 9, 2014 9:27 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in RC 5. This occurred in areas where the only allowed discussion type selected is "Main Discussion".

      In vault/core/view/ui/discussion/vw.php, find:
      Code:
      			$talklist2 = array();
      			$topiclist = array();
      After it, add:
      Code:
      $total = 0;
      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:44 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.