• 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
    • Admin CP Log: ErrorException: Undefined index: feeditemid

    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: Admin CP Log: ErrorException: Undefined index: feeditemid

    • Issue Tools
      • View Changes
    1. issueid=4636 April 15, 2016 6:36 AM
      brindosch brindosch is offline
      Junior Member
      Admin CP Log: ErrorException: Undefined index: feeditemid

      If i add now a (one) content page to the feed (no new one, just added a already created article to the feed)
      I get the following message 2 times

      If i add a second entry to the feed i get the message 2 more times


      Code:
      ErrorException: Undefined index: feeditemid - vault/core/controller/dm/base/vw.php:1374
      Code:
      #0 /var/www/hyperion/vault/core/controller/dm/base/vw.php(1374): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/hyperi...', 1374, Array)
      #1 /var/www/hyperion/vault/core/controller/dm/item/feed/vw.php(157): vw_DM_Base_Controller->rebuild_multiple('Pagecount', Array, Array)
      #2 /var/www/hyperion/library/vw/XenForo/DataWriter.php(470): vw_DM_Item_Feed_Controller->post_save_each()
      #3 /var/www/hyperion/library/XenForo/DataWriter.php(1423): vw_XenForo_DataWriter->_postSave()
      #4 /var/www/hyperion/vault/core/controller/dm/xf.php(408): XenForo_DataWriter->save()
      #5 /var/www/hyperion/vault/core/controller/ui/feed/vw.php(315): vw_DM_Controller_XF->save()
      #6 /var/www/hyperion/vault/core/controller/ui/feed/vw.php(88): vw_UI_Feed_Controller->bulk()
      #7 /var/www/hyperion/vault/core/controller/ui/stack/vw.php(220): vw_UI_Feed_Controller->execute()
      #8 /var/www/hyperion/library/vw/XenForo/ControllerPublic/Wiki/Feed.php(68): vw_UI_Stack_Controller->execute()
      #9 /var/www/hyperion/library/XenForo/FrontController.php(351): vw_XenForo_ControllerPublic_Wiki_Feed->actionIndex()
      #10 /var/www/hyperion/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #11 /var/www/hyperion/index.php(13): XenForo_FrontController->run()
      #12 {main}
      Code:
      array(3) {
        ["url"] => string(57) "https://hyperion-forum.dyndns.org/wiki-feed/?id=2&do=bulk"
        ["_GET"] => array(3) {
          ["/wiki-feed/"] => string(0) ""
          ["id"] => string(1) "2"
          ["do"] => string(4) "bulk"
        }
        ["_POST"] => array(6) {
          ["query"] => string(0) ""
          ["pageid"] => array(1) {
            [0] => string(2) "89"
          }
          ["_xfToken"] => string(8) "********"
          ["type"] => string(4) "feed"
          ["do"] => string(4) "bulk"
          ["ajax"] => string(1) "1"
        }
      }
    Issue Details
    Issue Number 4636
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Blogging / Feeds
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.0.10
    Fixed Version 4.0.11
    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. April 15, 2016 11:41 AM
      pegasus pegasus is offline
      VaultWiki Team
      Please check the feed listing on the List of Feeds (or the user's feeds), and let me know if the counter shows the correct number of feed entries. If it does not show the right number, then I need to add a step to the next upgrade to rebuild that counter.

      You should be able to prevent this error in the future by making this change:

      In vault/core/controller/dm/item/feed/vw.php, find:
      Code:
      			$this->rebuild_multiple($item_node['accesskey'] . 'count', array(
      				$item['itemid'] => array('itemfeedid' => $feedid) + $item
      			), $nodes);
      
      			if ($do_lastupdate)
      			{
      				$this->rebuild_lastupdate($item_node['id'], array(
      					$item['itemid'] => array('dateline' => $feed_updates['lastupdate']) + $item
      				), $updown > 0, $nodes);
      			}
      Replace with:
      Code:
      			$feeditemid = $this->instance->get('feeditemid');
      
      			$this->rebuild_multiple($item_node['accesskey'] . 'count', array(
      				$item['itemid'] => array(
      					'feeditemid' => $feeditemid,
      					'itemfeedid' => $feedid
      				) + $item
      			), $nodes);
      
      			if ($do_lastupdate)
      			{
      				$this->rebuild_lastupdate($item_node['id'], array(
      					$item['itemid'] => array(
      						'dateline' => $feed_updates['lastupdate'],
      						'feeditemid' => $feeditemid,
      						'itemfeedid' => $feedid
      					) + $item
      				), $updown > 0, $nodes);
      			}
      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 7:25 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.