• 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
    • Cannot upgrade vault wiki, error when enabled

    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: Cannot upgrade vault wiki, error when enabled

    • Issue Tools
      • View Changes
    1. issueid=3356 September 30, 2013 1:57 AM
      Richard_KingdomTales Richard_KingdomTales is offline
      New Member
      Cannot upgrade vault wiki, error when enabled

      Code:
      ErrorException: Fatal Error: Cannot use object of type Closure as array - vault/core/controller/install/upgradepath/steps/vw.php:23
      Generated By: Richard, 1 minute ago
      Stack Trace
      
      #0 [internal function]: XenForo_Application::handleFatalError()
      #1 {main}
      
      Request State
      
      array(3) {
        ["url"] => string(46) "domain/admin.php?wiki/upgrade"
        ["_GET"] => array(1) {
          ["wiki/upgrade"] => string(0) ""
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 3356
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 4.0.0 Beta 6
    Fixed Version 4.0.0 Beta 6
    Milestone VaultWiki 4 Beta X
    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. September 30, 2013 2:05 AM
      Richard_KingdomTales Richard_KingdomTales is offline
      New Member
      When enabled
      Code:
      Fatal error: Class 'vw_Hard_Core' not found in /home/..../public_html/library/vw/XenForo/CodeEventListener.php on line 94
      Reply Reply  
    2. September 30, 2013 11:35 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the current ZIP. Also I have run the upgrade on your site.

      I think the Fatal Error when enabled occurred if there was another modification besides VaultWiki installed, the modification has a listener at init_dependencies with certain code inside, and its listener executed before VaultWiki's. Because this can potentially lead to unexpected data if VaultWiki was unable to initialize before certain data was fetched (forum info, user info, etc), I have changed the Execution Order of the listener for the next release.
      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 5:41 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.