• 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
    • array_search() expects parameter 2 to be array, null given

    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: array_search() expects parameter 2 to be array, null given

    • Issue Tools
      • View Changes
    1. issueid=5284 October 22, 2017 11:42 AM
      SeToY SeToY is offline
      Junior Member
      array_search() expects parameter 2 to be array, null given
      array_search() expects parameter 2 to be array, null given

      Hey,

      now getting this error after the previous one (https://www.vaultwiki.org/issues/5282/) was fixed, when viewing a page
      Code:
      Server Error
      
      array_search() expects parameter 2 to be array, null given
      
      XenForo_Application::handlePhpError()
      array_search() in D:/inetpub/wwwroot/domain.com/vault/core/model/contenttype/xf.php at line 47
      vw_ContentType_Model_XF->key() in D:/inetpub/wwwroot/domain.com/vault/core/model/parser/instance/xf.php at line 44
      vw_Parser_Instance_Model_XF->item_options() in D:/inetpub/wwwroot/domain.com/vault/core/model/parser/instance/xf.php at line 109
      vw_Parser_Instance_Model_XF->parse() in D:/inetpub/wwwroot/domain.com/vault/core/view/content/page/vw.php at line 279
      vw_Content_Page_View->process_pagetext() in D:/inetpub/wwwroot/domain.com/vault/core/view/content/page/vw.php at line 47
      vw_Content_Page_View->unwrapped() in D:/inetpub/wwwroot/domain.com/vault/core/view/factory/content/vw.php at line 91
      vw_Factory_Content_View->get_content() in D:/inetpub/wwwroot/domain.com/vault/core/view/factory/content/versioned/vw.php at line 22
      vw_Factory_Content_Versioned_View->make() in D:/inetpub/wwwroot/domain.com/vault/core/view/ui/page/vw.php at line 52
      vw_UI_Page_View->view() in D:/inetpub/wwwroot/domain.com/vault/core/controller/ui/page/vw.php at line 786
      vw_UI_Page_Controller->view() in D:/inetpub/wwwroot/domain.com/vault/core/controller/ui/stack/vw.php at line 364
      vw_UI_Stack_Controller->view() in D:/inetpub/wwwroot/domain.com/vault/core/controller/ui/stack/vw.php at line 291
      vw_UI_Stack_Controller->execute() in vw/XenForo/ControllerPublic/Wiki.php at line 70
      vw_XenForo_ControllerPublic_Wiki->actionIndex() in XenForo/FrontController.php at line 351
      XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
      XenForo_FrontController->run() in D:/inetpub/wwwroot/domain.com/index.php at line 13
      The credentials are still valid from the ticket, if you need 'em.

      Cheers
    Issue Details
    Issue Number 5284
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.0.20
    Fixed Version 4.0.20
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. October 22, 2017 12:58 PM
      pegasus pegasus is offline
      VaultWiki Team
      Thanks for reporting this. Fixed it on your site. It was possible for this to occur in XenForo after initial installation of VaultWiki or after disabling and re-enabling VaultWiki, without toggling any other add-ons afterwards. Included the fix in build 002.
      Reply Reply  
    2. October 22, 2017 1:08 PM
      SeToY SeToY is offline
      Junior Member
      Alright, thanks.

      Does it make sense to download the full build 002 package and just roll over the files? Are any other fixes included?
      Reply Reply  
    3. October 22, 2017 1:19 PM
      pegasus pegasus is offline
      VaultWiki Team
      Yes, there are other fixes included:
      - for some add-on conflicts
      - improved handling of uploads that don't follow spec

      You would simply upload the build 002 package over the existing files.
      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:19 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.