• 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
    • [4.1.2] Special:Contributions: ErrorException: [E_NOTICE] Trying to access array offset on value of type bool

    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: [4.1.2] Special:Contributions: ErrorException: [E_NOTICE] Trying to access array offset on value of type bool

    • Issue Tools
      • View Changes
    1. issueid=6253 September 20, 2021 6:24 AM
      ACL ACL is offline
      Regular Member
      [4.1.2] Special:Contributions: ErrorException: [E_NOTICE] Trying to access array offset on value of type bool

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

      When someone accesses Special:Contributions, the above error is triggered. Please note this was encountered while running 4.1.2 Patch Level 1. I've not validated whether the situation is the same with PL2.

      Stack trace:
      Code:
      #0 src/addons/vw/vw/_core/view/ui/special/data/contributions/vw.php(215): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/au...', 215, Array)
      #1 src/addons/vw/vw/_core/view/ui/special/data/contributions/vw.php(160): vw_UI_Special_Data_Contributions_View->preprocess_item(Object(vw_UI_Special_Data_Contributions_Controller), Array)
      #2 src/addons/vw/vw/_core/view/ui/special/vw.php(68): vw_UI_Special_Data_Contributions_View->process_itembits(Object(vw_UI_Special_Data_Contributions_Controller))
      #3 src/addons/vw/vw/_core/view/ui/special/data/contributions/vw.php(40): vw_UI_Special_View->view(Array)
      #4 src/addons/vw/vw/_core/view/reply/view/vw.php(48): vw_UI_Special_Data_Contributions_View->view(Array)
      #5 src/addons/vw/vw/_core/view/reply/base/vw.php(134): vw_Reply_View_View->render_type('html')
      #6 src/addons/vw/vw/_core/view/reply/stack/vw.php(45): vw_Reply_base_View->render('html')
      #7 src/addons/vw/vw/XF/Mvc/View.php(25): vw_Reply_Stack_View->render('html')
      #8 src/XF/Mvc/Renderer/AbstractRenderer.php(91): vw\vw\XF\Mvc\View->renderHtml()
      #9 src/XF/Mvc/Renderer/Html.php(45): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #10 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #11 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
      #12 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
      #13 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
      #14 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
      #15 src/XF.php(512): XF\App->run()
      #16 index.php(20): XF::runApp('XF\\Pub\\App')
      #17 {main}
      Request state (User details redacted):
      Code:
      array(4) {
        ["url"] => string(39) "/wiki/Special:Contributions?user=Username"
        ["referrer"] => bool(false)
        ["_GET"] => array(1) {
          ["user"] => string(6) "Username"
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 6253
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Special Pages
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.1.2
    Fixed Version 4.1.3
    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. September 20, 2021 9:15 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release.

      This occurs on Special:Contributions in PHP 8 if the selected user has contributed a new page. In src/addons/vw/vw/_core/view/ui/special/data/contributions/vw.php, find:
      Code:
      if ($primary['accesskey'] == 'Index')
      Replace with:
      Code:
      if ($primary AND $primary['accesskey'] == 'Index')
      Reply Reply  
    2. September 20, 2021 9:33 AM
      ACL ACL is offline
      Regular Member
      Thanks. I should clarify that this happened with PHP 7.4. Nevertheless, after applying the suggested change no further instances of the error have been logged .
      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:33 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.