• 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: [E_NOTICE] Trying to access array offset on value of type bool in src/addons/vw/vw/_core/view/cp/permission/vw.php at line 182

    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: [E_NOTICE] Trying to access array offset on value of type bool in src/addons/vw/vw/_core/view/cp/permission/vw.php at line 182

    • Issue Tools
      • View Changes
    1. issueid=6210 June 18, 2021 2:48 AM
      Forsaken Forsaken is offline
      Junior Member
      ErrorException: [E_NOTICE] Trying to access array offset on value of type bool in src/addons/vw/vw/_core/view/cp/permission/vw.php at line 182

      ErrorException: [E_NOTICE] Trying to access array offset on value of type bool in src/addons/vw/vw/_core/view/cp/permission/vw.php at line 182
      XF::handlePhpError() in src/addons/vw/vw/_core/view/cp/permission/vw.php at line 182
      vw_CP_Permission_View->edit_perms() in src/addons/vw/vw/_core/view/reply/view/vw.php at line 48
      vw_Reply_View_View->render_type() in src/addons/vw/vw/_core/view/reply/base/vw.php at line 134
      vw_Reply_base_View->render() in src/addons/vw/vw/XF/Mvc/View.php at line 25
      vw\vw\XF\Mvc\View->renderHtml() in src/XF/Mvc/Renderer/AbstractRenderer.php at line 91
      XF\Mvc\Renderer\AbstractRenderer->renderViewObject() in src/XF/Mvc/Renderer/Html.php at line 45
      XF\Mvc\Renderer\Html->renderView() in src/XF/Mvc/Dispatcher.php at line 458
      XF\Mvc\Dispatcher->renderView() in src/XF/Mvc/Dispatcher.php at line 440
      XF\Mvc\Dispatcher->renderReply() in src/XF/Mvc/Dispatcher.php at line 400
      XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 58
      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 admin.php at line 13
      I get this when trying to edit wiki permissions under the area manager.
    Issue Details
    Issue Number 6210
    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 19, 2021 11:23 AM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs if you attempt to customize permissions for the wiki index page. In src/addons/vw/vw/_core/controller/cp/permission/vw.php, find:
      Code:
      		if ($nodetypeid == $areatypeid)
      		{
      			$this->area = vw_Hard_Core::controller('Fetch')->get('Area', $nodeid);
      		}
      Replace with:
      Code:
      		if ($nodetypeid == $areatypeid)
      		{
      			$this->area = vw_Hard_Core::controller('Fetch')->get('Area', $nodeid);
      
      			if ($nodeid AND !$this->area)
      			{
      				$index = vw_Hard_Core::controller('Fetch')->cached('Index', 0);
      
      				if ($index AND $index['pageid'] == $nodeid)
      				{
      					$this->area = $index;
      				}
      			}
      		}
      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 6:41 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.