• 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
    • 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: Trying to access array offset on value of type bool

    • Issue Tools
      • View Changes
    1. issueid=6154 January 27, 2021 11:58 AM
      gerryvz gerryvz is offline
      New Member
      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/controller/fetch/versioned/vw.php:133

      Generated by: 500AMM Jan 27, 2021 at 6:56 AM

      Stack trace

      #0 src/addons/vw/vw/_core/controller/fetch/versioned/vw.php(133): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/var/www/html/5...', 133, Array)
      #1 src/addons/vw/vw/_core/controller/proxy/like/page/vw.php(137): vw_Fetch_Versioned_Controller->to_the_extreme(Array, Array)
      #2 src/addons/vw/vw/_core/controller/proxy/like/page/vw.php(101): vw_Proxy_Like_Page_Controller->to_the_extreme()
      #3 src/addons/vw/vw/_core/controller/proxy/like/page/vw.php(33): vw_Proxy_Like_Page_Controller->like_edit_too()
      #4 src/addons/vw/vw/_core/controller/proxy/like/xf2.php(50): vw_Proxy_Like_Page_Controller->do_like()
      #5 src/addons/vw/vw/_core/controller/proxy/like/vw.php(95): vw_Proxy_Like_Controller_XF2->perform_like()
      #6 src/addons/vw/vw/_core/controller/ui/page/vw.php(1407): vw_Proxy_Like_Controller->like(Object(vw_UI_Page_Controller), Array, 'Page')
      #7 src/addons/vw/vw/_core/controller/ui/page/vw.php(306): vw_UI_Page_Controller->like()
      #8 src/addons/vw/vw/_core/controller/ui/stack/vw.php(294): vw_UI_Page_Controller->execute()
      #9 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
      #10 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex(Object(XF\Mvc\ParameterBag))
      #11 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch(Object(vw\vw\Pub\Controlle r\Wiki\Wiki), 'index', Object(XF\Mvc\ParameterBag))
      #12 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex(Object(XF\Mvc\ParameterBag))
      #13 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('\\vw\\vw\\Pub\\Cont...', 'Index', Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Wiki), NULL)
      #14 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(vw\vw\Pub\Controller\Wiki\Wiki), NULL)
      #15 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #16 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
      #17 src/XF.php(488): XF\App->run()
      #18 index.php(20): XF::runApp('XF\\Pub\\App')
      #19 {main}

      Request state

      array(4) {
      ["url"] => string(66) "/forums/wiki/?title=w124-500e500-vs-w126-560&do=like&reaction_id=7"
      ["referrer"] => string(68) "https://www.500eboard.co/forums/wiki/?title=w124-500e500-vs-w126-560"
      ["_GET"] => array(3) {
      ["title"] => string(24) "w124-500e500-vs-w126-560"
      ["do"] => string(4) "like"
      ["reaction_id"] => string(1) "7"
      }
      ["_POST"] => array(4) {
      ["_xfRequestUri"] => string(44) "/forums/wiki/?title=w124-500e500-vs-w126-560"
      ["_xfWithData"] => string(1) "1"
      ["_xfToken"] => string(8) "********"
      ["_xfResponseType"] => string(4) "json"
      }
      }
    Issue Details
    Issue Number 6154
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.1.1
    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. January 27, 2021 1:48 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. This occurs when trying to react / do some history actions on wiki pages that have not been edited from the original yet, under some newer versions of PHP.

      In src/addons/vw/vw/_core/controller/fetch/versioned/vw.php, find:
      Code:
      if ($other['original_id'] !== NULL)
      Replace with:
      Code:
      if ($other AND $other['original_id'] !== NULL)
      Find:
      Code:
      if ($other['original_id'] === NULL)
      Replace with:
      Code:
      if (!$other OR $other['original_id'] === NULL)
      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 3:20 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.