• 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
    • Saving a normal page with "anonymous page"-checked throws 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: Saving a normal page with "anonymous page"-checked throws error

    • Issue Tools
      • View Changes
    1. issueid=6338 September 22, 2022 11:03 AM
      mazzly mazzly is offline
      Junior Member
      Saving a normal page with "anonymous page"-checked throws error

      1. Create a page
      2. Edit page and check the "anonymous page" checkbox
      3. Save

      Throws:
      Code:
      Error: Call to undefined method vw_DM_Route_Controller::remove_path() src/addons/vw/vw/_core/controller/dm/route/vw.php:451
      Generated by: mazzly Sep 22, 2022 at 5:57 PM
      Stack trace
      #0 src/addons/vw/vw/XF/Entity/EntityBase.php(668): vw_DM_Route_Controller->post_save_each()
      #1 src/XF/Mvc/Entity/Entity.php(1266): vw\vw\XF\Entity\EntityBase->_postSave()
      #2 src/addons/vw/vw/XF/Entity/EntityBase.php(591): XF\Mvc\Entity\Entity->save(false, false)
      #3 src/addons/vw/vw/_core/controller/dm/xf2.php(401): vw\vw\XF\Entity\EntityBase->vwSave()
      #4 src/addons/vw/vw/_core/controller/dm/base/routable/vw.php(519): vw_DM_Controller_XF2->save()
      #5 src/addons/vw/vw/_core/controller/dm/page/vw.php(1909): vw_DM_Base_Routable_Controller->save_path(Array)
      #6 src/addons/vw/vw/XF/Entity/EntityBase.php(668): vw_DM_Page_Controller->post_save_each()
      #7 src/XF/Mvc/Entity/Entity.php(1266): vw\vw\XF\Entity\EntityBase->_postSave()
      #8 src/addons/vw/vw/XF/Entity/EntityBase.php(591): XF\Mvc\Entity\Entity->save(true, false)
      #9 src/addons/vw/vw/_core/controller/dm/xf2.php(401): vw\vw\XF\Entity\EntityBase->vwSave()
      #10 src/addons/vw/vw/_core/controller/ui/edit/vw.php(247): vw_DM_Controller_XF2->save()
      #11 src/addons/vw/vw/_core/controller/ui/page/vw.php(474): vw_UI_Edit_Controller->save(Array)
      #12 src/addons/vw/vw/_core/controller/ui/page/vw.php(170): vw_UI_Page_Controller->save()
      #13 src/addons/vw/vw/_core/controller/ui/stack/vw.php(295): vw_UI_Page_Controller->execute()
      #14 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
      #15 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex(Object(XF\Mvc\ParameterBag))
      #16 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch(Object(vw\vw\Pub\Controller\Wiki\Wiki), 'index', Object(XF\Mvc\ParameterBag))
      #17 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex(Object(XF\Mvc\ParameterBag))
      #18 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('\\vw\\vw\\Pub\\Cont...', 'Index', Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Wiki), NULL)
      #19 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Wiki), NULL)
      #20 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #21 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
      #22 src/XF.php(488): XF\App->run()
      #23 index.php(20): XF::runApp('XF\\Pub\\App')
      #24 {main}
      Request state
      array(4) {
        ["url"] => string(36) "/wiki/....?do=save"
        ["referrer"] => string(101) "....."
        ["_GET"] => array(2) {
          ["/wiki/WIP-Nienor-NĂ­niel"] => string(0) ""
          ["do"] => string(4) "save"
        }
        ["_POST"] => array(26) {
          ["message_html"] => string(6121) "...."
          ["prefixid"] => string(1) "0"
          ["edittitle"] => string(18) "..."
          ["summary"] => string(152) "...."
          ["reason"] => string(0) ""
          ["minor"] => string(1) "1"
          ["query"] => string(0) ""
          ["typelist"] => array(2) {
            [19] => string(1) "0"
            [32] => string(1) "1"
          }
          ["icontype"] => string(0) ""
          ["custom_fields"] => array(1) {
            ["emoji"] => string(0) ""
          }
          ["untabbed"] => string(1) "0"
          ["autolink"] => string(2) "-2"
          ["notifytype"] => string(2) "-1"
          ["do"] => string(4) "save"
          ["section"] => string(1) "0"
          ["posthash"] => string(73) "9292ec45500a24fb170b27e831ac2329,e7d35f5822d8f33f2d2de685fa95ea93bbcb9963"
          ["poststarttime"] => string(10) "1663858644"
          ["revparentid"] => string(5) "14948"
          ["loggedinuser"] => string(5) "16614"
          ["from_draft"] => string(10) "1:2096:0:0"
          ["_xfToken"] => string(8) "********"
          ["ct_checkjs"] => string(1) "0"
          ["sbutton"] => string(9) "undefined"
          ["_xfRequestUri"] => string(70) "...."
          ["_xfWithData"] => string(1) "1"
          ["_xfResponseType"] => string(4) "json"
        }
      }
    Issue Details
    Issue Number 6338
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.5
    Fixed Version 4.1.6
    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. September 23, 2022 11:54 AM
      pegasus pegasus is offline
      VaultWiki Team
      In src/addons/vw/vw/_core/controller/dm/route/vw.php, find:
      Code:
      $this->remove_path($this->instance->get_existing('pathid'));
      Replace with:
      Code:
      $this->remove_paths($this->instance->get_existing('pathid'));
      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 4:02 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.