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

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

    • Issue Tools
      • View Changes
    1. issueid=6160 January 30, 2021 11:05 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Undefined index: ratingavg

      ErrorException: Undefined index: ratingavg - library/vw/_core/view/content/list/base/vw.php:466
      Generated By: Unknown Account, Yesterday at 10:30 PM
      Stack Trace

      #0 /library/vw/_core/view/content/list/base/vw.php(466): XenForo_Application::handlePhpError(8, 'Undefined index...', '/...', 466, Array)
      #1 /library/vw/_core/view/content/list/base/vw.php(337): vw_Content_List_Base_View->process_filters(Array, Array, Array)
      #2 /library/vw/_core/view/content/list/base/vw.php(46): vw_Content_List_Base_View->query(Array, Array)
      #3 /library/vw/_core/view/ui/area/vw.php(217): vw_Content_List_Base_View->get('Page', Array, Array, Array, Array)
      #4 /library/vw/_core/view/reply/view/vw.php(48): vw_UI_Area_View->area_list(Array)
      #5 /library/vw/_core/view/reply/base/vw.php(134): vw_Reply_View_View->render_type('html')
      #6 /library/vw/_core/view/reply/stack/vw.php(44): vw_Reply_base_View->render('html')
      #7 /library/vw/XenForo/ViewPublic.php(39): vw_Reply_Stack_View->render('html')
      #8 /library/XenForo/ViewRenderer/Abstract.php(229): vw_XenForo_ViewPublic->renderHtml()
      #9 /library/XenForo/ViewRenderer/HtmlPublic.php(71): XenForo_ViewRenderer_Abstract->renderViewObject('vw_XenForo_View...', 'Html', Array, 'vw_general_view')
      #10 /library/XenForo/FrontController.php(624): XenForo_ViewRenderer_HtmlPublic->renderView('vw_XenForo_View...', Array, 'vw_general_view', NULL)
      #11 /library/XenForo/FrontController.php(176): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
      #12 /index.php(13): XenForo_FrontController->run()
      #13 {main}

      Request State

      array(3) {
      ["url"] => string(50) "/Articles?do=list"
      ["_GET"] => array(2) {
      ["/wiki/Articles"] => string(0) ""
      ["do"] => string(4) "list"
      }
      ["_POST"] => array(5) {
      ["filter"] => string(1) "1"
      ["sort"] => string(6) "rating"
      ["sortorder"] => string(4) "desc"
      ["_xfToken"] => string(8) "********"
      ["do"] => string(4) "list"
      }
      }
    Issue Details
    Issue Number 6160
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.1.1
    Fixed Version 4.1.2
    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. January 31, 2021 1:54 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. This occurs when sorting a content list by average rating (also occurs when sorting by total children).

      In src/addons/vw/vw/_core/view/content/list/base/vw.php, find:
      Code:
      'lastupdate' => '',
      AFTER it, add:
      Code:
      							'ratingavg' => '',
      							'childcount' => '',
      Reply Reply  
    2. January 31, 2021 5:59 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      There is no src folder in xf1.
      Reply Reply  
    3. February 2, 2021 7:28 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      @pegasus Could you provide the fix for XF1?
      Reply Reply  
    4. February 3, 2021 4:00 PM
      pegasus pegasus is offline
      VaultWiki Team
      library/vw/...etc
      Reply Reply  
    5. February 4, 2021 8:57 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I normally translate it to that, but in this case there is no directory here:
      library/vw/VW
      I edited the file in \library\vw\_core\view\content\list\base\
      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.