• 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
    • ErrorException: Undefined index: itemid

    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: ErrorException: Undefined index: itemid

    • Issue Tools
      • View Changes
    1. issueid=5500 October 5, 2018 12:14 PM
      expanserpb expanserpb is offline
      Junior Member
      ErrorException: Undefined index: itemid

      Created on deleting a comment on an article

      ErrorException: Undefined index: itemid - vault/core/controller/dm/comment/vw.php:347
      Generated By: Raigryn Vayd, 1 minute ago
      Stack Trace
      #0 /var/www/html/vault/core/controller/dm/comment/vw.php(347): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/html/v...', 347, Array)
      #1 /var/www/html/vault/core/controller/dm/base/vw.php(955): vw_DM_Comment_Controller->adjacent_nodes(6, Array)
      #2 /var/www/html/vault/core/controller/dm/comment/vw.php(233): vw_DM_Base_Controller->rebuild_lastupdate(6, Array)
      #3 /var/www/html/vault/core/controller/dm/comment/xf.php(69): vw_DM_Comment_Controller->post_save_each()
      #4 /var/www/html/library/XenForo/DataWriter.php(1423): vw_DM_Comment_Controller_XF->_postSave()
      #5 /var/www/html/vault/core/controller/dm/xf.php(431): XenForo_DataWriter->save()
      #6 /var/www/html/vault/core/controller/ui/discussion/vw.php(516): vw_DM_Controller_XF->save()
      #7 /var/www/html/vault/core/controller/ui/discussion/vw.php(108): vw_UI_Discussion_Controller->postcomment()
      #8 /var/www/html/vault/core/controller/ui/discussion/xf.php(72): vw_UI_Discussion_Controller->execute()
      #9 /var/www/html/vault/core/view/ui/page/vw.php(282): vw_UI_Discussion_Controller_XF->execute()
      #10 /var/www/html/vault/core/controller/ui/page/vw.php(754): vw_UI_Page_View->get_comments(Object(vw_UI_Page_Controller_XF), true)
      #11 /var/www/html/vault/core/controller/ui/page/vw.php(181): vw_UI_Page_Controller->comments()
      #12 /var/www/html/vault/core/controller/ui/page/xf.php(58): vw_UI_Page_Controller->execute()
      #13 /var/www/html/vault/core/controller/ui/stack/vw.php(276): vw_UI_Page_Controller_XF->execute()
      #14 /var/www/html/library/vw/XenForo/ControllerPublic/Wiki.php(70): vw_UI_Stack_Controller->execute()
      #15 /var/www/html/library/XenForo/FrontController.php(369): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #16 /var/www/html/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #17 /var/www/html/index.php(13): XenForo_FrontController->run()
      #18 {main}
      Request State
      array(3) {
      ["url"] => string(68) "https://chroniclesrp.net/Folklore/Jon?do=comments&action=postcomment"
      ["_GET"] => array(2) {
      ["do"] => string(8) "comments"
      ["action"] => string(11) "postcomment"
      }
      ["_POST"] => array(11) {
      ["quickreply_html"] => string(26) "<p>ignore this comment</p>"
      ["_xfRelativeResolver"] => string(49) "https://chroniclesrp.net/Folklore/Jon?do=comments"
      ["do"] => string(8) "comments"
      ["action"] => string(11) "postcomment"
      ["fromquickreply"] => string(1) "1"
      ["last_date"] => string(1) "0"
      ["last_known_date"] => string(10) "1538755926"
      ["_xfToken"] => string(8) "********"
      ["_xfRequestUri"] => string(25) "/Folklore/Jon?do=comments"
      ["_xfNoRedirect"] => string(1) "1"
      ["_xfResponseType"] => string(4) "json"
      }
      }

      ErrorException: Undefined index: itemid - vault/core/controller/dm/comment/vw.php:347
      Generated By: Raigryn Vayd, 1 minute ago
      Stack Trace
      #0 /var/www/html/vault/core/controller/dm/comment/vw.php(347): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/html/v...', 347, Array)
      #1 /var/www/html/vault/core/controller/dm/base/vw.php(955): vw_DM_Comment_Controller->adjacent_nodes(6, Array)
      #2 /var/www/html/vault/core/controller/dm/comment/vw.php(233): vw_DM_Base_Controller->rebuild_lastupdate(6, Array)
      #3 /var/www/html/vault/core/controller/dm/comment/xf.php(69): vw_DM_Comment_Controller->post_save_each()
      #4 /var/www/html/library/XenForo/DataWriter.php(1423): vw_DM_Comment_Controller_XF->_postSave()
      #5 /var/www/html/vault/core/controller/dm/xf.php(431): XenForo_DataWriter->save()
      #6 /var/www/html/vault/core/controller/ui/discussion/vw.php(516): vw_DM_Controller_XF->save()
      #7 /var/www/html/vault/core/controller/ui/discussion/vw.php(108): vw_UI_Discussion_Controller->postcomment()
      #8 /var/www/html/vault/core/controller/ui/discussion/xf.php(72): vw_UI_Discussion_Controller->execute()
      #9 /var/www/html/vault/core/view/ui/page/vw.php(282): vw_UI_Discussion_Controller_XF->execute()
      #10 /var/www/html/vault/core/controller/ui/page/vw.php(754): vw_UI_Page_View->get_comments(Object(vw_UI_Page_Controller_XF), true)
      #11 /var/www/html/vault/core/controller/ui/page/vw.php(181): vw_UI_Page_Controller->comments()
      #12 /var/www/html/vault/core/controller/ui/page/xf.php(58): vw_UI_Page_Controller->execute()
      #13 /var/www/html/vault/core/controller/ui/stack/vw.php(276): vw_UI_Page_Controller_XF->execute()
      #14 /var/www/html/library/vw/XenForo/ControllerPublic/Wiki.php(70): vw_UI_Stack_Controller->execute()
      #15 /var/www/html/library/XenForo/FrontController.php(369): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #16 /var/www/html/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #17 /var/www/html/index.php(13): XenForo_FrontController->run()
      #18 {main}
      Request State
      array(3) {
      ["url"] => string(68) "https://chroniclesrp.net/Folklore/Jon?do=comments&action=postcomment"
      ["_GET"] => array(2) {
      ["do"] => string(8) "comments"
      ["action"] => string(11) "postcomment"
      }
      ["_POST"] => array(11) {
      ["quickreply_html"] => string(26) "<p>ignore this comment</p>"
      ["_xfRelativeResolver"] => string(49) "https://chroniclesrp.net/Folklore/Jon?do=comments"
      ["do"] => string(8) "comments"
      ["action"] => string(11) "postcomment"
      ["fromquickreply"] => string(1) "1"
      ["last_date"] => string(1) "0"
      ["last_known_date"] => string(10) "1538755926"
      ["_xfToken"] => string(8) "********"
      ["_xfRequestUri"] => string(25) "/Folklore/Jon?do=comments"
      ["_xfNoRedirect"] => string(1) "1"
      ["_xfResponseType"] => string(4) "json"
      }
      }

      ErrorException: Undefined index: itemid - vault/core/controller/dm/comment/vw.php:348
      Generated By: Raigryn Vayd, 2 minutes ago
      Stack Trace
      #0 /var/www/html/vault/core/controller/dm/comment/vw.php(348): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/html/v...', 348, Array)
      #1 /var/www/html/vault/core/controller/dm/base/vw.php(955): vw_DM_Comment_Controller->adjacent_nodes(6, Array)
      #2 /var/www/html/vault/core/controller/dm/comment/vw.php(233): vw_DM_Base_Controller->rebuild_lastupdate(6, Array)
      #3 /var/www/html/vault/core/controller/dm/comment/xf.php(69): vw_DM_Comment_Controller->post_save_each()
      #4 /var/www/html/library/XenForo/DataWriter.php(1423): vw_DM_Comment_Controller_XF->_postSave()
      #5 /var/www/html/vault/core/controller/dm/xf.php(431): XenForo_DataWriter->save()
      #6 /var/www/html/vault/core/controller/ui/discussion/vw.php(516): vw_DM_Controller_XF->save()
      #7 /var/www/html/vault/core/controller/ui/discussion/vw.php(108): vw_UI_Discussion_Controller->postcomment()
      #8 /var/www/html/vault/core/controller/ui/discussion/xf.php(72): vw_UI_Discussion_Controller->execute()
      #9 /var/www/html/vault/core/view/ui/page/vw.php(282): vw_UI_Discussion_Controller_XF->execute()
      #10 /var/www/html/vault/core/controller/ui/page/vw.php(754): vw_UI_Page_View->get_comments(Object(vw_UI_Page_Controller_XF), true)
      #11 /var/www/html/vault/core/controller/ui/page/vw.php(181): vw_UI_Page_Controller->comments()
      #12 /var/www/html/vault/core/controller/ui/page/xf.php(58): vw_UI_Page_Controller->execute()
      #13 /var/www/html/vault/core/controller/ui/stack/vw.php(276): vw_UI_Page_Controller_XF->execute()
      #14 /var/www/html/library/vw/XenForo/ControllerPublic/Wiki.php(70): vw_UI_Stack_Controller->execute()
      #15 /var/www/html/library/XenForo/FrontController.php(369): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #16 /var/www/html/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #17 /var/www/html/index.php(13): XenForo_FrontController->run()
      #18 {main}
      Request State
      array(3) {
      ["url"] => string(68) "https://chroniclesrp.net/Folklore/Jon?do=comments&action=postcomment"
      ["_GET"] => array(2) {
      ["do"] => string(8) "comments"
      ["action"] => string(11) "postcomment"
      }
      ["_POST"] => array(11) {
      ["quickreply_html"] => string(26) "<p>ignore this comment</p>"
      ["_xfRelativeResolver"] => string(49) "https://chroniclesrp.net/Folklore/Jon?do=comments"
      ["do"] => string(8) "comments"
      ["action"] => string(11) "postcomment"
      ["fromquickreply"] => string(1) "1"
      ["last_date"] => string(1) "0"
      ["last_known_date"] => string(10) "1538755926"
      ["_xfToken"] => string(8) "********"
      ["_xfRequestUri"] => string(25) "/Folklore/Jon?do=comments"
      ["_xfNoRedirect"] => string(1) "1"
      ["_xfResponseType"] => string(4) "json"
      }
      }
      ErrorException: Undefined index: itemid - vault/core/controller/dm/comment/vw.php:359
      Generated By: Raigryn Vayd, 2 minutes ago
      Stack Trace
      #0 /var/www/html/vault/core/controller/dm/comment/vw.php(359): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/html/v...', 359, Array)
      #1 /var/www/html/vault/core/controller/dm/base/vw.php(955): vw_DM_Comment_Controller->adjacent_nodes(6, Array)
      #2 /var/www/html/vault/core/controller/dm/comment/vw.php(233): vw_DM_Base_Controller->rebuild_lastupdate(6, Array)
      #3 /var/www/html/vault/core/controller/dm/comment/xf.php(69): vw_DM_Comment_Controller->post_save_each()
      #4 /var/www/html/library/XenForo/DataWriter.php(1423): vw_DM_Comment_Controller_XF->_postSave()
      #5 /var/www/html/vault/core/controller/dm/xf.php(431): XenForo_DataWriter->save()
      #6 /var/www/html/vault/core/controller/ui/discussion/vw.php(516): vw_DM_Controller_XF->save()
      #7 /var/www/html/vault/core/controller/ui/discussion/vw.php(108): vw_UI_Discussion_Controller->postcomment()
      #8 /var/www/html/vault/core/controller/ui/discussion/xf.php(72): vw_UI_Discussion_Controller->execute()
      #9 /var/www/html/vault/core/view/ui/page/vw.php(282): vw_UI_Discussion_Controller_XF->execute()
      #10 /var/www/html/vault/core/controller/ui/page/vw.php(754): vw_UI_Page_View->get_comments(Object(vw_UI_Page_Controller_XF), true)
      #11 /var/www/html/vault/core/controller/ui/page/vw.php(181): vw_UI_Page_Controller->comments()
      #12 /var/www/html/vault/core/controller/ui/page/xf.php(58): vw_UI_Page_Controller->execute()
      #13 /var/www/html/vault/core/controller/ui/stack/vw.php(276): vw_UI_Page_Controller_XF->execute()
      #14 /var/www/html/library/vw/XenForo/ControllerPublic/Wiki.php(70): vw_UI_Stack_Controller->execute()
      #15 /var/www/html/library/XenForo/FrontController.php(369): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #16 /var/www/html/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #17 /var/www/html/index.php(13): XenForo_FrontController->run()
      #18 {main}
      Request State
      array(3) {
      ["url"] => string(68) "https://chroniclesrp.net/Folklore/Jon?do=comments&action=postcomment"
      ["_GET"] => array(2) {
      ["do"] => string(8) "comments"
      ["action"] => string(11) "postcomment"
      }
      ["_POST"] => array(11) {
      ["quickreply_html"] => string(26) "<p>ignore this comment</p>"
      ["_xfRelativeResolver"] => string(49) "https://chroniclesrp.net/Folklore/Jon?do=comments"
      ["do"] => string(8) "comments"
      ["action"] => string(11) "postcomment"
      ["fromquickreply"] => string(1) "1"
      ["last_date"] => string(1) "0"
      ["last_known_date"] => string(10) "1538755926"
      ["_xfToken"] => string(8) "********"
      ["_xfRequestUri"] => string(25) "/Folklore/Jon?do=comments"
      ["_xfNoRedirect"] => string(1) "1"
      ["_xfResponseType"] => string(4) "json"
      }
      }

      ErrorException: Undefined index: itemid - vault/core/controller/dm/comment/vw.php:359
      Generated By: Raigryn Vayd, A moment ago
      Stack Trace
      #0 /var/www/html/vault/core/controller/dm/comment/vw.php(359): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/html/v...', 359, Array)
      #1 /var/www/html/vault/core/controller/dm/base/vw.php(955): vw_DM_Comment_Controller->adjacent_nodes(6, Array)
      #2 /var/www/html/vault/core/controller/dm/comment/vw.php(233): vw_DM_Base_Controller->rebuild_lastupdate(6, Array)
      #3 /var/www/html/vault/core/controller/dm/comment/xf.php(69): vw_DM_Comment_Controller->post_save_each()
      #4 /var/www/html/library/XenForo/DataWriter.php(1423): vw_DM_Comment_Controller_XF->_postSave()
      #5 /var/www/html/vault/core/controller/dm/xf.php(431): XenForo_DataWriter->save()
      #6 /var/www/html/vault/core/controller/ui/discussion/vw.php(516): vw_DM_Controller_XF->save()
      #7 /var/www/html/vault/core/controller/ui/discussion/vw.php(108): vw_UI_Discussion_Controller->postcomment()
      #8 /var/www/html/vault/core/controller/ui/discussion/xf.php(72): vw_UI_Discussion_Controller->execute()
      #9 /var/www/html/vault/core/view/ui/page/vw.php(282): vw_UI_Discussion_Controller_XF->execute()
      #10 /var/www/html/vault/core/controller/ui/page/vw.php(754): vw_UI_Page_View->get_comments(Object(vw_UI_Page_Controller_XF), true)
      #11 /var/www/html/vault/core/controller/ui/page/vw.php(181): vw_UI_Page_Controller->comments()
      #12 /var/www/html/vault/core/controller/ui/page/xf.php(58): vw_UI_Page_Controller->execute()
      #13 /var/www/html/vault/core/controller/ui/stack/vw.php(276): vw_UI_Page_Controller_XF->execute()
      #14 /var/www/html/library/vw/XenForo/ControllerPublic/Wiki.php(70): vw_UI_Stack_Controller->execute()
      #15 /var/www/html/library/XenForo/FrontController.php(369): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #16 /var/www/html/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #17 /var/www/html/index.php(13): XenForo_FrontController->run()
      #18 {main}
      Request State
      array(3) {
      ["url"] => string(68) "https://chroniclesrp.net/Folklore/Jon?do=comments&action=postcomment"
      ["_GET"] => array(2) {
      ["do"] => string(8) "comments"
      ["action"] => string(11) "postcomment"
      }
      ["_POST"] => array(11) {
      ["quickreply_html"] => string(26) "<p>ignore this comment</p>"
      ["_xfRelativeResolver"] => string(49) "https://chroniclesrp.net/Folklore/Jon?do=comments"
      ["do"] => string(8) "comments"
      ["action"] => string(11) "postcomment"
      ["fromquickreply"] => string(1) "1"
      ["last_date"] => string(1) "0"
      ["last_known_date"] => string(10) "1538755926"
      ["_xfToken"] => string(8) "********"
      ["_xfRequestUri"] => string(25) "/Folklore/Jon?do=comments"
      ["_xfNoRedirect"] => string(1) "1"
      ["_xfResponseType"] => string(4) "json"
      }
      }
    Issue Details
    Issue Number 5500
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Discussions / Comments
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.0.24
    Fixed Version 4.0.25
    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. October 6, 2018 10:50 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/controller/dm/comment/xf.php, find:
      Code:
      return $this->controller->post_save_each();
      Replace with:
      Code:
      return parent::_postSave();
      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:01 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.