• 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.0 RC2 Build 001] Error on Posting Photos

    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.0 RC2 Build 001] Error on Posting Photos

    • Issue Tools
      • View Changes
    1. issueid=5990 March 23, 2020 3:20 PM
      gerryvz gerryvz is offline
      New Member
      [4.1.0 RC2 Build 001] Error on Posting Photos
      I received these errors after uploading photos to the Wiki.

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

      Generated by: gerryvz Mar 23, 2020 at 2:24 PM

      Stack trace

      #0 src/addons/vw/vw/_core/view/ui/special/changes/recentchanges/vw.php(142): XF::handlePhpError()
      #1 src/addons/vw/vw/_core/view/ui/special/changes/recentchanges/vw.php(87): vw_UI_Special_Changes_RecentChanges_View->preprocess_item()
      #2 src/addons/vw/vw/_core/view/ui/special/vw.php(68): vw_UI_Special_Changes_RecentChanges_View->process_itembits()
      #3 src/addons/vw/vw/_core/view/reply/view/vw.php(48): vw_UI_Special_View->view()
      #4 src/addons/vw/vw/_core/view/reply/base/vw.php(134): vw_Reply_View_View->render_type()
      #5 src/addons/vw/vw/_core/view/reply/stack/vw.php(44): vw_Reply_base_View->render()
      #6 src/addons/vw/vw/XF/Mvc/View.php(25): vw_Reply_Stack_View->render()
      #7 src/XF/Mvc/Renderer/AbstractRenderer.php(91): vw\vw\XF\Mvc\View->renderHtml()
      #8 src/XF/Mvc/Renderer/Html.php(45): XF\Mvc\Renderer\AbstractRenderer->renderViewObject()
      #9 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView()
      #10 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView()
      #11 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply()
      #12 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render()
      #13 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
      #14 src/XF.php(391): XF\App->run()
      #15 index.php(20): XF::runApp()
      #16 {main}

      Request state

      array(4) {
      ["url"] => string(41) "/forums/wiki/?title=Special:RecentChanges"
      ["referrer"] => string(66) "https://www.500eboard.co/forums/wiki/?do=create&itemtypeid=21&da=2"
      ["_GET"] => array(1) {
      ["title"] => string(21) "Special:RecentChanges"
      }
      ["_POST"] => array(0) {
      }
      }
    Issue Details
    Issue Number 5990
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.0 RC 2
    Fixed Version 4.1.0 RC 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. March 23, 2020 3:51 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next build. In src/addons/vw/vw/_core/view/ui/special/changes/recentchanges/vw.php, find:
      Code:
      if ($primary['accesskey'] == 'Index')
      Replace with:
      Code:
      if ($primary AND $primary['accesskey'] == 'Index')
      Reply Reply  
    2. March 23, 2020 6:33 PM
      gerryvz gerryvz is offline
      New Member
      I could not find the first string of code in your reply, but found the second string (which you said to replace).

      Weird.
      Reply Reply  
    3. March 24, 2020 9:05 AM
      pegasus pegasus is offline
      VaultWiki Team
      Thanks for that. Perform the replacement in this file as well: src/addons/vw/vw/_core/view/ui/special/changes/recentchanges/vw.php.
      Reply Reply  
    4. March 24, 2020 9:41 AM
      gerryvz gerryvz is offline
      New Member
      That's the same directory/file as you mention above, correct?
      Reply Reply  
    5. March 24, 2020 11:29 AM
      pegasus pegasus is offline
      VaultWiki Team
      I have changed the instructions since you said you could not find the code on your site.
      Reply Reply  
    6. March 24, 2020 11:30 AM
      gerryvz gerryvz is offline
      New Member
      I found it, I used vim instead of nano and for some reason it found the string. Made the update this morning to the file.
      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 12:34 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.