• 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
    • Error when moving 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: Error when moving page

    • Issue Tools
      • View Changes
    1. issueid=6457 November 2, 2024 5:37 AM
      OASS OASS is offline
      New Member
      Error when moving page

      Getting the following error when moving a page

      Oops! We ran into some problems.
      Error: Call to undefined method vw_DM_Page_Controller::get_node() in src/addons/vw/vw/_core/model/activitylog/xf2.php at line 108
      vw_ActivityLog_Model_XF2->change_container() in src/addons/vw/vw/_core/controller/dm/base/vw.php at line 2067
      vw_DM_Base_Controller->area_change_delegate() in src/addons/vw/vw/_core/controller/dm/page/vw.php at line 2356
      vw_DM_Page_Controller->post_save_each() in src/addons/vw/vw/XF/Entity/EntityBase.php at line 818
      vw\vw\XF\Entity\EntityBase->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1324
      XF\Mvc\Entity\Entity->save() in src/addons/vw/vw/_core/controller/dm/xf2.php at line 434
      vw_DM_Controller_XF2->save() in src/addons/vw/vw/_core/controller/ui/imod/action/move/vw.php at line 121
      vw_UI_iMod_Action_Move_Controller->process_move_type() in src/addons/vw/vw/_core/controller/ui/imod/action/move/vw.php at line 88
      vw_UI_iMod_Action_Move_Controller->perform_domove() in src/addons/vw/vw/_core/controller/ui/imod/action/base/vw.php at line 106
      vw_UI_iMod_Action_base_Controller->process() in src/addons/vw/vw/Handler/InlineMod/Base/AbstractAction.php at line 190
      vw\vw\Handler\InlineMod\Base\AbstractAction->applyToEntity() in src/XF/InlineMod/AbstractAction.php at line 175
      XF\InlineMod\AbstractAction->applyInternal() in src/XF/InlineMod/AbstractAction.php at line 161
      XF\InlineMod\AbstractAction->apply() in src/XF/Pub/Controller/InlineModController.php at line 133
      XF\Pub\Controller\InlineModController->actionPerform() in src/addons/vw/vw/XF/Pub/Controller/InlineMod.php at line 55
      vw\vw\XF\Pub\Controller\InlineMod->actionPerform() in src/XF/Mvc/Dispatcher.php at line 362
      XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
      XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
      XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
      XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
      XF\App->run() in src/XF.php at line 806
      XF::runApp() in index.php at line 23
    Issue Details
    Issue Number 6457
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Moderator Tools
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.8
    Fixed Version Next Release
    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. November 2, 2024 10:57 AM
      pegasus pegasus is offline
      VaultWiki Team
      In src/addons/vw/vw/_core/model/activitylog/xf2.php, find:
      Code:
      $node = $dm->get_node();
      Replace with:
      Code:
      $node = $dm->instance->get_node();
      Then try moving your page again, if it wasn't successful the first time.
      Reply Reply  
    2. November 3, 2024 2:22 PM
      OASS OASS is offline
      New Member
      Thank you, that fixed that issue, however i have a similar issue creating templates:

      Error: Call to a member function verify_fieldtext() on null in src/addons/vw/vw/_core/controller/dm/fieldrevisionvalue/vw.php at line 93
      vw_DM_FieldRevisionValue_Controller->verify_fieldvalue() in src/addons/vw/vw/_core/controller/dm/fieldrevisionvalue/xf2.php at line 36
      vw_DM_FieldRevisionValue_Controller_XF2->verify_fieldvalue() in src/XF/Mvc/Entity/Entity.php at line 828
      XF\Mvc\Entity\Entity->_verifyValueCustom() in src/addons/vw/vw/XF/Entity/EntityBase.php at line 567
      vw\vw\XF\Entity\EntityBase->_verifyValueCustom() in src/XF/Mvc/Entity/Entity.php at line 677
      XF\Mvc\Entity\Entity->set() in src/addons/vw/vw/XF/Entity/EntityBase.php at line 552
      vw\vw\XF\Entity\EntityBase->set() in src/addons/vw/vw/_core/controller/dm/xf2.php at line 256
      vw_DM_Controller_XF2->set() in src/addons/vw/vw/_core/controller/dm/fieldrevision/vw.php at line 281
      vw_DM_FieldRevision_Controller->pre_save() in src/addons/vw/vw/XF/Entity/EntityBase.php at line 637
      vw\vw\XF\Entity\EntityBase->_preSave() in src/XF/Mvc/Entity/Entity.php at line 1413
      XF\Mvc\Entity\Entity->preSave() in src/addons/vw/vw/XF/Entity/EntityBase.php at line 628
      vw\vw\XF\Entity\EntityBase->vwPreSave() in src/addons/vw/vw/_core/controller/dm/xf2.php at line 396
      vw_DM_Controller_XF2->pre_save() in src/addons/vw/vw/_core/controller/dm/base/vw.php at line 974
      vw_DM_Base_Controller->internal_pre_save() in src/addons/vw/vw/_core/controller/dm/item/template/vw.php at line 261
      vw_DM_Item_Template_Controller->process_template_fields() in src/addons/vw/vw/_core/controller/dm/item/template/vw.php at line 82
      vw_DM_Item_Template_Controller->pre_save() in src/addons/vw/vw/XF/Entity/EntityBase.php at line 637
      vw\vw\XF\Entity\EntityBase->_preSave() in src/XF/Mvc/Entity/Entity.php at line 1413
      XF\Mvc\Entity\Entity->preSave() in src/addons/vw/vw/XF/Entity/EntityBase.php at line 628
      vw\vw\XF\Entity\EntityBase->vwPreSave() in src/addons/vw/vw/_core/controller/dm/xf2.php at line 396
      vw_DM_Controller_XF2->pre_save() in src/addons/vw/vw/_core/controller/dm/base/vw.php at line 974
      vw_DM_Base_Controller->internal_pre_save() in src/addons/vw/vw/_core/controller/dm/page/vw.php at line 722
      vw_DM_Page_Controller->pre_save() in src/addons/vw/vw/XF/Entity/EntityBase.php at line 637
      vw\vw\XF\Entity\EntityBase->_preSave() in src/XF/Mvc/Entity/Entity.php at line 1413
      XF\Mvc\Entity\Entity->preSave() in src/addons/vw/vw/XF/Entity/EntityBase.php at line 628
      vw\vw\XF\Entity\EntityBase->vwPreSave() in src/addons/vw/vw/_core/controller/dm/xf2.php at line 396
      vw_DM_Controller_XF2->pre_save() in src/addons/vw/vw/_core/controller/ui/edit/page/vw.php at line 603
      vw_UI_Edit_Page_Controller->start_dm() in src/addons/vw/vw/_core/controller/ui/edit/vw.php at line 174
      vw_UI_Edit_Controller->save() in src/addons/vw/vw/_core/controller/ui/create/vw.php at line 452
      vw_UI_Create_Controller->publish() in src/addons/vw/vw/_core/controller/ui/index/vw.php at line 75
      vw_UI_Index_Controller->publish() in src/addons/vw/vw/_core/controller/ui/index/vw.php at line 28
      vw_UI_Index_Controller->execute() in src/addons/vw/vw/_core/controller/ui/stack/vw.php at line 366
      vw_UI_Stack_Controller->execute() in src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php at line 163
      vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex() in src/addons/vw/vw/Mvc/Dispatcher.php at line 30
      vw\vw\Mvc\Dispatcher::dispatch() in src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php at line 26
      vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex() in src/XF/Mvc/Dispatcher.php at line 362
      XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
      XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
      XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
      XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
      XF\App->run() in src/XF.php at line 806
      XF::runApp() in index.php at line 23
      Reply Reply  
    3. November 3, 2024 10:41 PM
      pegasus pegasus is offline
      VaultWiki Team
      I believe this happens if you have custom fields assigned to templates. In src/addons/vw/vw/_core/controller/dm/fieldrevisionvalue/vw.php, find:
      Code:
      $dm->instance->instance->verify_fieldtext($value);
      Replace with:
      Code:
      $dm->instance->verify_fieldtext($value);
      Reply Reply  
    4. November 4, 2024 9:10 AM
      OASS OASS is offline
      New Member
      Thank you that fixed it...
      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 12:26 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.