• 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
    • [4.1.0 RC2 PL1] Script Error

    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: [4.1.0 RC2 PL1] Script Error

    • Issue Tools
      • View Changes
    1. issueid=6026 April 28, 2020 7:55 AM
      gerryvz gerryvz is offline
      New Member
      [4.1.0 RC2 PL1] Script Error

      Any thoughts?

      Received 22 examples of this identical error, in short order.




      ErrorException: [E_NOTICE] Trying to access array offset on value of type null src/addons/vw/vw/_core/controller/ui/history/base/vw.php:824

      Generated by: linjam Apr 28, 2020 at 2:11 AM

      Stack trace

      #0 src/addons/vw/vw/_core/controller/ui/history/base/vw.php(824): XF::handlePhpError()
      #1 src/addons/vw/vw/_core/controller/ui/history/base/vw.php(472): vw_UI_History_Base_Controller->revision_by_direction()
      #2 src/addons/vw/vw/_core/controller/ui/history/base/vw.php(62): vw_UI_History_Base_Controller->revision()
      #3 src/addons/vw/vw/_core/controller/ui/history/page/xf2.php(28): vw_UI_History_Base_Controller->execute()
      #4 src/addons/vw/vw/_core/controller/ui/page/vw.php(543): vw_UI_History_Page_Controller_XF2->execute()
      #5 src/addons/vw/vw/_core/controller/ui/page/vw.php(207): vw_UI_Page_Controller->history()
      #6 src/addons/vw/vw/_core/controller/ui/stack/vw.php(294): vw_UI_Page_Controller->execute()
      #7 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
      #8 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex()
      #9 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch()
      #10 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex()
      #11 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
      #12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
      #13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
      #14 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
      #15 src/XF.php(391): XF\App->run()
      #16 index.php(20): XF::runApp()
      #17 {main}

      Request state

      array(4) {
      ["url"] => string(100) "/forums/wiki/?title=Parts-that-Should-Be-Accumulated&do=history&action=view&direction=next&oldid=5 54"
      ["referrer"] => string(124) "https://www.500eboard.co/forums/wiki/?title=Parts-that-Should-Be-Accumulated&do=history&action=view&direction=next&oldid=5 53"
      ["_GET"] => array(5) {
      ["title"] => string(32) "Parts-that-Should-Be-Accumulated"
      ["do"] => string(7) "history"
      ["action"] => string(4) "view"
      ["direction"] => string(4) "next"
      ["oldid"] => string(3) "554"
      }
      ["_POST"] => array(0) {
      }
      }
    Issue Details
    Issue Number 6026
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.0 RC 2
    Fixed Version (none)
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. April 28, 2020 1:27 PM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs in PHP 7.4, when viewing an old version of a page and using the navigation links to view an even older/newer version.

      In src/addons/vw/vw/_core/controller/ui/history/base/vw.php, find:
      Code:
      if ($this->edit['itemid'] == $oldid)
      Replace with:
      Code:
      if ($this->edit AND $this->edit['itemid'] == $oldid)
      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:41 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.