• 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
    • Cannot soft delete a redirect 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: Cannot soft delete a redirect page

    • Issue Tools
      • View Changes
    1. issueid=5375 March 11, 2018 4:22 AM
      expanserpb expanserpb is offline
      Junior Member
      Cannot soft delete a redirect page

      To the user (yelp):
      Code:
      An exception occurred: Call to undefined method vw_DB_MySQL_Model_XF::get() in /var/www/html/vault/core/controller/dm/redirect/vw.php on line 392
      
      vw_DM_Redirect_Controller->post_save_each() in vw/XenForo/DataWriter.php at line 505
      vw_XenForo_DataWriter->_postSave() in XenForo/DataWriter.php at line 1423
      XenForo_DataWriter->save() in /var/www/html/vault/core/controller/dm/xf.php at line 436
      vw_DM_Controller_XF->save() in /var/www/html/vault/core/controller/ui/imod/vw.php at line 1492
      vw_UI_iMod_Controller->kill() in /var/www/html/vault/core/controller/ui/imod/vw.php at line 160
      vw_UI_iMod_Controller->execute() in vw/XenForo/ControllerPublic/Wiki/Moderate.php at line 51
      vw_XenForo_ControllerPublic_Wiki_Moderate->actionIndex() in XenForo/FrontController.php at line 369
      XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 152
      XenForo_FrontController->run() in /var/www/html/index.php at line 13
      In the admin CP
      Code:
      Error: Call to undefined method vw_DB_MySQL_Model_XF::get() - vault/core/controller/dm/redirect/vw.php:392
      Generated By: Administrator, A moment ago
      Stack Trace
      #0 /var/www/html/library/vw/XenForo/DataWriter.php(505): vw_DM_Redirect_Controller->post_save_each()
      #1 /var/www/html/library/XenForo/DataWriter.php(1423): vw_XenForo_DataWriter->_postSave()
      #2 /var/www/html/vault/core/controller/dm/xf.php(436): XenForo_DataWriter->save()
      #3 /var/www/html/vault/core/controller/ui/imod/vw.php(1492): vw_DM_Controller_XF->save()
      #4 /var/www/html/vault/core/controller/ui/imod/vw.php(160): vw_UI_iMod_Controller->kill()
      #5 /var/www/html/library/vw/XenForo/ControllerPublic/Wiki/Moderate.php(51): vw_UI_iMod_Controller->execute()
      #6 /var/www/html/library/XenForo/FrontController.php(369): vw_XenForo_ControllerPublic_Wiki_Moderate->actionIndex()
      #7 /var/www/html/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #8 /var/www/html/index.php(13): XenForo_FrontController->run()
      #9 {main}
      Request State
      array(3) {
        ["url"] => string(52) "https://www.theexpanse-rp.com/wiki-moderate/?do=kill"
        ["_GET"] => array(1) {
          ["do"] => string(4) "kill"
        }
        ["_POST"] => array(7) {
          ["harddelete"] => string(1) "1"
          ["sbutton"] => string(8) "Continue"
          ["_xfToken"] => string(8) "********"
          ["do"] => string(4) "kill"
          ["returnid"] => string(2) "15"
          ["returntype"] => string(2) "18"
          ["items"] => array(1) {
            [18] => array(1) {
              [15] => string(2) "15"
            }
          }
        }
      }
      If I hard delete the page it seems to remain in place.
    Issue Details
    Issue Number 5375
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Moderator Tools
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.21
    Fixed Version 4.0.22
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 12, 2018 9:55 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/controller/dm/redirect/vw.php, find:
      Code:
      vw_DB::get()->query()->get('vw_redirect', 1),
      Replace with:
      Code:
      vw_DB::get()->query()->gt('vw_redirect', 1),
      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:56 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.