• 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
    • ArgumentCountError: Too few arguments to function vw\vw\XF\Mvc\Router::vwRedirectRoute()

    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: ArgumentCountError: Too few arguments to function vw\vw\XF\Mvc\Router::vwRedirectRoute()

    • Issue Tools
      • View Changes
    1. issueid=5763 May 20, 2019 2:56 PM
      Daniel Nenni Daniel Nenni is offline
      New Member
      ArgumentCountError: Too few arguments to function vw\vw\XF\Mvc\Router::vwRedirectRoute()
      This error seems to be generated with every single request to the Wiki (public server)

      XF 2.1.2
      VaultWiki 4.1.0 Beta 1

      Code:
      ArgumentCountError: Too few arguments to function vw\vw\XF\Mvc\Router::vwRedirectRoute(), 1 passed in /var/www/html/forum/src/addons/vw/vw/XF/Mvc/Router.php on line 55 and exactly 2 expected src/addons/vw/vw/XF/Mvc/Router.php:61
      Generated by: Unknown account May 20, 2019 at 7:50 PM
      Stack trace
      #0 src/addons/vw/vw/XF/Mvc/Router.php(55): vw\vw\XF\Mvc\Router->vwRedirectRoute('Wiki')
      #1 src/XF/Mvc/Dispatcher.php(60): vw\vw\XF\Mvc\Router->routeToController('showwiki.php', Object(XF\Http\Request))
      #2 src/XF/Mvc/Dispatcher.php(42): XF\Mvc\Dispatcher->route('showwiki.php')
      #3 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
      #4 src/XF.php(390): XF\App->run()
      #5 index.php(20): XF::runApp('XF\\Pub\\App')
      #6 {main}
      Request state
      array(4) {
        ["url"] => string(57) "/forum/showwiki.php?title=SEMI:Store-Wiki&do=incategories"
        ["referrer"] => bool(false)
        ["_GET"] => array(2) {
          ["title"] => string(15) "SEMI:Store-Wiki"
          ["do"] => string(12) "incategories"
        }
        ["_POST"] => array(0) {
        }
      }
      Delete
    Issue Details
    Issue Number 5763
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category URLs / Routing
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.1.0 Beta 1
    Fixed Version 4.1.0 Beta 1
    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. May 20, 2019 3:37 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next build. This occurs when using the VaultWiki 3 redirect script (original wiki started in vBulletin before 2013) to point to a wiki now running on XenForo 2. In src/addons/vw/vw/XF/Mvc/Router.php, find:
      Code:
      return $this->vwRedirectRoute($this->vwRedirectMap[$parts[0]]);
      Replace with:
      Code:
      return $this->vwRedirectRoute($this->vwRedirectMap[$parts[0]], $request);
      Reply Reply  
    2. May 20, 2019 4:58 PM
      Daniel Nenni Daniel Nenni is offline
      New Member
      Fixed!
      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 3:00 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.