• 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 Variable when posting new page/book/category/etc

    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 Variable when posting new page/book/category/etc

    • Issue Tools
      • View Changes
    1. issueid=6204 June 17, 2021 4:01 AM
      Forsaken Forsaken is offline
      Junior Member
      Undefined Variable when posting new page/book/category/etc

      ErrorException: [E_NOTICE] Undefined variable: context in src/addons/vw/vw/_core/model/editor/vw.php at line 34
      XF::handlePhpError() in src/addons/vw/vw/_core/model/editor/vw.php at line 34
      vw_Editor_Model->verify_post_hash() in src/addons/vw/vw/_core/controller/ui/edit/vw.php at line 148
      vw_UI_Edit_Controller->save() in src/addons/vw/vw/_core/controller/ui/create/vw.php at line 445
      vw_UI_Create_Controller->publish() in src/addons/vw/vw/_core/controller/ui/index/vw.php at line 73
      vw_UI_Index_Controller->publish() in src/addons/vw/vw/_core/controller/ui/index/vw.php at line 33
      vw_UI_Index_Controller->execute() in src/addons/vw/vw/_core/controller/ui/stack/vw.php at line 294
      vw_UI_Stack_Controller->execute() in src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php at line 80
      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 350
      XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
      XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
      XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
      XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2337
      XF\App->run() in src/XF.php at line 488
      XF::runApp() in index.php at line 20
      (Does not show up in error list so I can't give more than this).

      This shows up any time I try to post anything, regardless of what it is.
    Issue Details
    Issue Number 6204
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.2
    Fixed Version 4.1.2
    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. June 17, 2021 10:07 AM
      pegasus pegasus is offline
      VaultWiki Team
      The only thing this notice would prevent you from doing is successfully saving a platform-based attachment to a wiki comment.

      In src/addons/vw/vw/_core/model/editor/vw.php, find:
      Code:
      $correct[] = $context['areaid'];
      Replace with:
      Code:
      $correct[] = $item['areaid'];
      We will reissue the June patches shortly with this change.
      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 2:49 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.