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"
}
}