• 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: Call to undefined method vw_UI_Redirect_Controller::_protect()

    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: Call to undefined method vw_UI_Redirect_Controller::_protect()

    • Issue Tools
      • View Changes
    1. issueid=6402 November 7, 2023 3:28 AM
      mazzly mazzly is offline
      Junior Member
      Error: Call to undefined method vw_UI_Redirect_Controller::_protect()

      Code:
      Error: Call to undefined method vw_UI_Redirect_Controller::_protect() src/addons/vw/vw/_core/controller/ui/redirect/vw.php:99
      Code:
      #0 src/addons/vw/vw/_core/controller/ui/stack/vw.php(298): vw_UI_Redirect_Controller->execute()
      #1 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
      #2 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex(Object(XF\Mvc\ParameterBag))
      #3 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))
      #4 src/XF/Mvc/Dispatcher.php(352): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex(Object(XF\Mvc\ParameterBag))
      #5 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('\\vw\\vw\\Pub\\Cont...', 'Index', Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Wiki), NULL)
      #6 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Wiki), NULL)
      #7 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #8 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
      #9 src/XF.php(524): XF\App->run()
      #10 index.php(20): XF::runApp('XF\\Pub\\App')
      #11 {main}
      Code:
      array(4) {
        ["url"] => string(31) "/wiki/Foo?do=protect"
        ["referrer"] => string(51) "https://www.....com/wiki/Foo"
        ["_GET"] => array(2) {
          ["/wiki/Foo"] => string(0) ""
          ["do"] => string(7) "protect"
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 6402
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.7
    Fixed Version 4.1.8
    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. November 17, 2023 9:38 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. It looks like the name of the method was changed for 4.0.20 in 2017 but this path was never updated at the time. In src/addons/vw/vw/_core/controller/ui/redirect/vw.php, find:
      Code:
      return $this->_protect();
      Replace with:
      Code:
      return $this->protect();
      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 1:20 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.