• 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
    • Undefined index: auto_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: Undefined index: auto_protect

    • Issue Tools
      • View Changes
    1. issueid=4953 March 7, 2017 4:38 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Undefined index: auto_protect

      Code:
      ErrorException: Undefined index: auto_protect - vault/core/controller/import/handle/vw3/page/vw.php:879 
      Generated By: Alfa, 43 minutes ago
      
      Stack Trace
      #0 /var/www/html/vault/core/controller/import/handle/vw3/page/vw.php(879): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/html/v...', 879, Array)
      #1 /var/www/html/vault/core/controller/import/handle/vw3/page/vw.php(263): vw_Import_Handle_VW3_Page_Controller->protect_options(Array, Array)
      #2 /var/www/html/vault/core/controller/import/handle/vw3/page/vw.php(232): vw_Import_Handle_VW3_Page_Controller->do_page(Array)
      #3 /var/www/html/vault/core/controller/import/steps/vw3/vw.php(300): vw_Import_Handle_VW3_Page_Controller->do_pages(201)
      #4 /var/www/html/vault/core/controller/progress/steps/vw.php(83): vw_Import_Steps_VW3_Controller->{closure}(Object(vw_Import_Controller), true)
      #5 /var/www/html/vault/core/controller/progress/steps/vw.php(53): vw_Progress_Steps_Controller->call(Object(vw_Import_Controller), Object(Closure))
      #6 /var/www/html/vault/core/controller/progress/vw.php(92): vw_Progress_Steps_Controller->execute(Object(vw_Import_Controller))
      #7 /var/www/html/vault/core/controller/progress/vw.php(74): vw_Progress_Controller->exec_script(Array)
      #8 /var/www/html/vault/core/controller/cp/progress/vw.php(35): vw_Progress_Controller->execute()
      #9 /var/www/html/vault/core/controller/cp/impex/vw.php(108): vw_CP_Progress_Controller->process(Object(vw_Import_Controller))
      #10 /var/www/html/vault/core/controller/cp/impex/vw.php(33): vw_CP_ImpEx_Controller->import()
      #11 /var/www/html/library/vw/XenForo/ControllerAdmin/Wiki.php(118): vw_CP_ImpEx_Controller->execute('import', 'get')
      #12 /var/www/html/library/XenForo/FrontController.php(351): vw_XenForo_ControllerAdmin_Wiki->actionIndex()
      #13 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #14 /var/www/html/admin.php(13): XenForo_FrontController->run()
      #15 {main}
      Request State
      array(3) {
        ["url"] => string(95) "http://xenforo.x.nl/admin.php?wiki/&panel=impex&step=14&startat=201&do=import&manual=0"
        ["_GET"] => array(6) {
          ["wiki/"] => string(0) ""
          ["panel"] => string(5) "impex"
          ["step"] => string(2) "14"
          ["startat"] => string(3) "201"
          ["do"] => string(6) "import"
          ["manual"] => string(1) "0"
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 4953
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Importing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.17
    Fixed Version 4.0.18
    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 7, 2017 4:41 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I got a very large number of these errors.
      Reply Reply  
    2. March 7, 2017 5:04 PM
      pegasus pegasus is offline
      VaultWiki Team
      This error message appeared in 4.0.16. Prior to 4.0.16, auto-protect was not applied correctly during import either.

      In vault/core/controller/import/handle/vw3/page/vw.php, find:
      Code:
      if ($area['auto_protect'] & 8)
      Replace with:
      Code:
      if ($area['autoprotect'] & 8)
      Correct behavior of auto-protect is more important in a VW4=>VW4 import (broken before 4.0.16), since it is rare that auto-protect would occur during a VW3 import. Before and after the code replacement, the behavior of the import should be the same; it only makes a difference for areas that existed before the import was started, where auto-protect was actually turned on.
      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 11:34 AM.
    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.