• 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_UI_Edit_Page_View::process_template_rules(), 3 passed in /var/www/html/src/addons/vw/vw/_core/view/ui/ajax/switch/vw.php on line 194 and exactly 4 expected src/addons/vw/vw/_core/view/ui/edit/page/

    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_UI_Edit_Page_View::process_template_rules(), 3 passed in /var/www/html/src/addons/vw/vw/_core/view/ui/ajax/switch/vw.php on line 194 and exactly 4 expected src/addons/vw/vw/_core/view/ui/edit/page/

    • Issue Tools
      • View Changes
    1. issueid=6072 July 4, 2020 4:10 AM
      expanserpb expanserpb is offline
      Junior Member
      ArgumentCountError: Too few arguments to function vw_UI_Edit_Page_View::process_template_rules(), 3 passed in /var/www/html/src/addons/vw/vw/_core/view/ui/ajax/switch/vw.php on line 194 and exactly 4 expected src/addons/vw/vw/_core/view/ui/edit/page/

      ArgumentCountError: Too few arguments to function vw_UI_Edit_Page_View:rocess_template_rules(), 3 passed in /var/www/html/src/addons/vw/vw/_core/view/ui/ajax/switch/vw.php on line 194 and exactly 4 expected src/addons/vw/vw/_core/view/ui/edit/page/vw.php:210

      Stack trace
      #0 src/addons/vw/vw/_core/view/ui/ajax/switch/vw.php(194): vw_UI_Edit_Page_View->process_template_rules(Array, Array, true)
      #1 src/addons/vw/vw/_core/view/reply/view/vw.php(48): vw_UI_AJAX_Switch_View->view(Array)
      #2 src/addons/vw/vw/_core/view/reply/base/vw.php(134): vw_Reply_View_View->render_type('xml')
      #3 src/addons/vw/vw/XF/Mvc/View.php(74): vw_Reply_base_View->render('xml')
      #4 src/XF/Mvc/Renderer/AbstractRenderer.php(91): vw\vw\XF\Mvc\View->renderXml()
      #5 src/XF/Mvc/Renderer/Xml.php(74): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #6 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Xml->renderView('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #7 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Xml), Object(XF\Mvc\Reply\View))
      #8 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Xml), Object(XF\Mvc\Reply\View))
      #9 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'xml')
      #10 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
      #11 src/XF.php(391): XF\App->run()
      #12 index.php(20): XF::runApp('XF\\Pub\\App')
      #13 {main}
      Request state
      array(4) {
      ["url"] => string(34) "/index.php?Folklore-ajax/&c=switch"
      ["referrer"] => string(78) "https://chroniclesrp.net/Folklore/?do=create&itemtypeid=1&etid=1&ecid=0&eaid=5"
      ["_GET"] => array(2) {
      ["Folklore-ajax/"] => string(0) ""
      ["c"] => string(6) "switch"
      }
      ["_POST"] => array(5) {
      ["ajax"] => string(1) "1"
      ["areaid"] => string(1) "6"
      ["itemtypeid"] => string(1) "1"
      ["_xfToken"] => string(8) "********"
      ["c"] => string(6) "switch"
      }
      }
    Issue Details
    Issue Number 6072
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.1.0 RC 3
    Fixed Version 4.1.0
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. July 4, 2020 12:20 PM
      pegasus pegasus is offline
      VaultWiki Team
      In src/addons/vw/vw/_core/view/ui/ajax/switch/vw.php, find:
      Code:
      $tplparams = vw_Hard_Core::view('UI/Edit/Page')->process_template_rules($rules, $test, $caneditor);
      Replace with:
      Code:
      $tplparams = vw_Hard_Core::view('UI/Edit/Page')->process_template_rules($rules, $test, $test, $caneditor);
      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:42 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.