• 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: category_node

    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: category_node

    • Issue Tools
      • View Changes
    1. issueid=5405 May 14, 2018 4:01 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Undefined variable: category_node

      This bug blocks us from adding new pages:

      ErrorException: Undefined variable: category_node - vault/core/controller/dm/item/category/vw.php:416
      Generated By: Bijou, Today at 19:16

      Stack Trace
      #0 /vault/core/controller/dm/item/category/vw.php(416): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home//d...', 416, Array)
      #1 /vault/core/controller/dm/vw.php(118): vw_DM_Item_Category_Controller->delete_multiple(Array)
      #2 /vault/core/controller/ui/assign/category/vw.php(328): vw_DM_Controller->delete_multiple(Array)
      #3 /vault/core/controller/ui/edit/page/vw.php(628): vw_UI_Assign_Category_Controller->save_assignments(Object(vw_UI_Page_Controller_XF), Array, Array)
      #4 /vault/core/controller/ui/edit/vw.php(273): vw_UI_Edit_Page_Controller->process_assignments(Object(vw_UI_Page_Controller_XF), Array, Array)
      #5 /vault/core/controller/ui/page/vw.php(346): vw_UI_Edit_Controller->save(Object(vw_UI_Page_Controller_XF))
      #6 /vault/core/controller/ui/page/vw.php(133): vw_UI_Page_Controller->save()
      #7 /vault/core/controller/ui/page/xf.php(58): vw_UI_Page_Controller->execute()
      #8 /vault/core/controller/ui/stack/vw.php(276): vw_UI_Page_Controller_XF->execute()
      #9 /library/vw/XenForo/ControllerPublic/Wiki.php(70): vw_UI_Stack_Controller->execute()
      #10 /library/XenForo/FrontController.php(369): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #11 /library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #12 /index.php(13): XenForo_FrontController->run()
      #13 {main}
      Request State
      array(3) {
      ["url"] => string(75) "/wiki/?title=Trainwreck&do=save"
      ["_GET"] => array(2) {
      ["title"] => string(29) "Trainwreck"
      ["do"] => string(4) "edit"
      }
      ["_POST"] => array(19) {
      ["message_html"] => string(203) "<p>

      Diverse&nbsp;informatie&nbsp;en&nbsp;bronteksten

      <br>

      Oude&nbsp;Producttekst

      <br>
      Link:<br>

      Nieuwe&nbsp;Producttekst

      <br>

      Status

      <br>
      Niet&nbsp;toegevoegd.</p>"
      ["_xfRelativeResolver"] => string(75) "/wiki/?title=Trainwreck&do=edit"
      ["query"] => string(0) ""
      ["removecategoryids"] => array(1) {
      [0] => string(2) "71"
      }
      ["reason"] => string(0) ""
      ["minor"] => string(1) "1"
      ["prefixid"] => string(1) "0"
      ["edittitle"] => string(31) "Trainwreck
      ["typelist"] => array(1) {
      [14] => string(1) "0"
      }
      ["_xfToken"] => string(8) "********"
      ["do"] => string(4) "save"
      ["section"] => string(1) "0"
      ["posthash"] => string(32) "a762540e0f2b365ec02fde813ffe9cba"
      ["poststarttime"] => string(10) "1526318106"
      ["revparentid"] => string(3) "408"
      ["loggedinuser"] => string(1) "4"
      ["sbutton"] => string(4) "Save"
      ["notifytype"] => string(1) "1"
      ["sub_options"] => array(2) {
      ["item_edits"] => string(1) "1"
      ["item_comments"] => string(1) "1"
      }
      }
      }
    Issue Details
    Issue Number 5405
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Editing Pages
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.22
    Fixed Version 4.0.23
    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. May 14, 2018 6:03 PM
      pegasus pegasus is offline
      VaultWiki Team
      This only occurs if you remove a category from an existing page that already is in that category, so it should not block you from creating new pages. I should also note that your example is an existing page.

      If it is preventing you from removing a category from a page, consider not using debug mode while doing so. This error should also not cause incorrect last-updates on the category that was removed, except in rare page-type combinations that were only possible to create in VW3 (specifically, if you have a wiki-area that is also a category). So you should be able to safely ignore this message until the next release.

      You can resolve the message by editing vault/core/controller/dm/item/category/vw.php. Find:
      Code:
      $category_node
      Replace with:
      Code:
      $category
      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:37 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.