• 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
    • Wiki Feed Error

    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: Wiki Feed Error

    • Issue Tools
      • View Changes
    1. issueid=6284 December 19, 2021 11:18 AM
      gerryvz gerryvz is offline
      New Member
      Wiki Feed Error

      ErrorException: [E_NOTICE] Trying to access array offset on value of type bool src/addons/vw/vw/_core/view/ui/feed/vw.php:1580

      Generated by: Unknown account Dec 18, 2021 at 7:16 AM

      Stack trace

      #0 src/addons/vw/vw/_core/view/ui/feed/vw.php(1580): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/var/www/html/5...', 1580, Array)
      #1 src/addons/vw/vw/_core/view/ui/feed/vw.php(1522): vw_UI_Feed_View->get_list_link(Object(vw_UI_Feed_Controller_XF2), false)
      #2 src/addons/vw/vw/_core/view/reply/view/vw.php(48): vw_UI_Feed_View->index(Array)
      #3 src/addons/vw/vw/_core/view/reply/base/vw.php(134): vw_Reply_View_View->render_type('html')
      #4 src/addons/vw/vw/_core/view/reply/stack/vw.php(45): vw_Reply_base_View->render('html')
      #5 src/addons/vw/vw/XF/Mvc/View.php(25): vw_Reply_Stack_View->render('html')
      #6 src/XF/Mvc/Renderer/AbstractRenderer.php(91): vw\vw\XF\Mvc\View->renderHtml()
      #7 src/XF/Mvc/Renderer/Html.php(47): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #8 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #9 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
      #10 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
      #11 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
      #12 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
      #13 src/XF.php(517): XF\App->run()
      #14 index.php(20): XF::runApp('XF\\Pub\\App')
      #15 {main}

      Request state

      array(4) {
      ["url"] => string(31) "/forums/wiki-feed/collaborative"
      ["referrer"] => bool(false)
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(0) {
      }
      }
    Issue Details
    Issue Number 6284
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Discussions / Comments
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.3
    Fixed Version 4.1.4
    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. December 19, 2021 1:54 PM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs if you attempt to view the feeds portal filters of either personal-only or collaborative-only, and there are no feeds yet matching that filter.

      In src/addons/vw/vw/_core/view/ui/feed/vw.php, find:
      Find:
      Code:
      			if ($falsey)
      			{				
      				return false;
      			}
      
      			return array(
      				'hasfeeds' => true,
      Replace with:
      Code:
      			$hasfeeds = true;
      
      			if ($falsey)
      			{				
      				$hasfeeds = false;
      			}
      
      			return array(
      				'hasfeeds' => $hasfeeds,
      Find:
      Code:
      if (!empty($stream['hasfeeds']))
      BEFORE it, add:
      Code:
      $stream['type'] = $feedtypeaction[1];
      Find:
      Code:
      		if (!$entries)
      		{
      			return $this->view_empty($params);
      		}
      Replace with:
      Code:
      		if (empty($entries['entries']))
      		{
      			return $this->view_empty($params);
      		}
      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:38 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.