• 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
    • Error: Cannot call constructor during uninstall

    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: Error: Cannot call constructor during uninstall

    • Issue Tools
      • View Changes
    1. issueid=6207 June 17, 2021 1:52 PM
      Forsaken Forsaken is offline
      Junior Member
      Error: Cannot call constructor during uninstall

      Error: Cannot call constructor in src/addons/vw/vw/_core/controller/uninstall/alter/xf2.php at line 26
      vw_UnInstall_Alter_Controller_XF2->__construct() in src/addons/vw/vw/_hard/core.php at line 464
      vw_Hard_Core::fetch_object() in src/addons/vw/vw/_hard/core.php at line 782
      vw_Hard_Core::controller() in src/addons/vw/vw/_core/controller/uninstall/vw.php at line 101
      vw_UnInstall_Controller->undo_altered_tables() in src/addons/vw/vw/_core/controller/uninstall/vw.php at line 52
      vw_UnInstall_Controller->alterations() in src/addons/vw/vw/Setup.php at line 1097
      vw\vw\Setup->uninstallStep2() in src/XF/AddOn/StepRunnerUninstallTrait.php at line 59
      vw\vw\Setup->uninstallStepRunner() in src/XF/AddOn/StepRunnerUninstallTrait.php at line 26
      vw\vw\Setup->uninstall() in src/XF/Admin/Controller/AddOn.php at line 644
      XF\Admin\Controller\AddOn->actionUninstall() in src/XF/Mvc/Dispatcher.php at line 350
      XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
      XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
      XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
      XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2337
      XF\App->run() in src/XF.php at line 488
      XF::runApp() in admin.php at line 13
      After the last fix, this happens when attempting to uninstall.
    Issue Details
    Issue Number 6207
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.2
    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. June 17, 2021 4:03 PM
      pegasus pegasus is offline
      VaultWiki Team
      Please note: if you're uninstalling just to see if it will solve the E_NOTICE log errors you've been receiving, it won't.

      To resolve this specific issue, in src/addons/vw/vw/_core/controller/uninstall/alter/xf2.php, find and remove:
      Code:
      parent::__construct();
      Reply Reply  
    2. June 17, 2021 4:11 PM
      Forsaken Forsaken is offline
      Junior Member
      Quote Originally Posted by pegasus
      Please note: if you're uninstalling just to see if it will solve the E_NOTICE log errors you've been receiving, it won't.

      To resolve this specific issue, in src/addons/vw/vw/_core/controller/uninstall/alter/xf2.php, find and remove:
      Code:
      parent::__construct();
      First time I was, now I'm just reporting if the actual uninstall process still errors out.

      After applying the fix, there are no issues with the uninstall process.
      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:45 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.