• 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
    • An exception occurred: [Error] Class 'vw_Hard_Core' not found in src\addons\vw\vw\Handler\Option\Enabled.php on line 21

    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: An exception occurred: [Error] Class 'vw_Hard_Core' not found in src\addons\vw\vw\Handler\Option\Enabled.php on line 21

    • Issue Tools
      • View Changes
    1. issueid=6052 June 5, 2020 7:57 AM
      SeToY SeToY is offline
      Junior Member
      An exception occurred: [Error] Class 'vw_Hard_Core' not found in src\addons\vw\vw\Handler\Option\Enabled.php on line 21

      Add-on is disabled, clicking on the gear icon and clicking on "Options" results in a white error page:

      Code:
      An exception occurred: [Error] Class 'vw_Hard_Core' not found in src\addons\vw\vw\Handler\Option\Enabled.php on line 21
      
      vw\vw\Handler\Option\Enabled::renderEnabled()
      call_user_func() in src/XF/Entity/Option.php at line 76
      XF\Entity\Option->renderDisplayCallback()
      call_user_func_array() in src/XF/Template/Templater.php at line 999
      XF\Template\Templater->method() in internal_data/code_cache/templates/l1/s0/admin/option_macros.php at line 196
      XF\Template\Templater->{closure}() in src/XF/Template/Templater.php at line 701
      XF\Template\Templater->callMacro() in internal_data/code_cache/templates/l1/s0/admin/addon_options.php at line 59
      XF\Template\Templater->{closure}() in src/XF/Template/Templater.php at line 1315
      XF\Template\Templater->renderTemplate() in src/XF/Template/Template.php at line 24
      XF\Template\Template->render() in src/XF/Mvc/Renderer/Html.php at line 48
      XF\Mvc\Renderer\Html->renderView() in src/XF/Mvc/Dispatcher.php at line 458
      XF\Mvc\Dispatcher->renderView() in src/XF/Mvc/Dispatcher.php at line 440
      XF\Mvc\Dispatcher->renderReply() in src/XF/Mvc/Dispatcher.php at line 400
      XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 58
      XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2190
      XF\App->run() in src/XF.php at line 391
      XF::runApp() in admin.php at line 13
    Issue Details
    Issue Number 6052
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.1.0 RC 3
    Fixed Version 4.1.0
    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 5, 2020 12:45 PM
      pegasus pegasus is offline
      VaultWiki Team
      Since the admin links pointing to these options all disappear after the add-on is disabled, I'm assuming that the admin page containing the link had been loaded in another browser window prior to disabling the add-on.

      This will be fixed in the next release. The bug had existed in all prior versions. Now, if the add-on is disabled and the link is known or accessed directly, admin options that had special rendering will not be rendered at all (missing from the list). Also, in this scenario, beware that when saving most VaultWiki options that are rendered, the new value will be accepted without checking for problems or causing rebuilds; this may result in problems after VaultWiki is enabled again, requiring manual changes/rebuilds, but would not be considered a bug.
      Reply Reply  
    2. June 5, 2020 12:56 PM
      SeToY SeToY is offline
      Junior Member
      Quote Originally Posted by pegasus
      Since the admin links pointing to these options all disappear after the add-on is disabled, I'm assuming that the admin page containing the link had been loaded in another browser window prior to disabling the add-on.
      No, the add-on was and is disabled since a few weeks. You can still access the options through the XF add-on list and clicking on the "gear" icon next to VW.
      Reply Reply  
    3. June 5, 2020 1:04 PM
      pegasus pegasus is offline
      VaultWiki Team
      Ah, I forgot about that link. I'm not sure how I feel about its presence (or about add-on supplied options groups rendering without a "this add-on is disabled, enable it to change the options" message). It seems to be inconsistent with XenForo removing the options from the main Setup > Options page. Perhaps XenForo devs would consider it a bug, or perhaps they have a reason for the inconsistencies.
      Reply Reply  
    4. June 5, 2020 1:06 PM
      SeToY SeToY is offline
      Junior Member
      Quote Originally Posted by pegasus
      It seems to be inconsistent with XenForo removing the options from the main Setup > Options page. Perhaps XenForo devs would consider it a bug, or perhaps they have a reason for the inconsistencies.
      Yeah, that's what I thought, too. The link in Setup > Options is gone, but it's still present in the add-on list (and it even works without rendering a "this addon is disabled" page)... Are you gonna open a report for that on XF forums? If not I'd go ahead and do it.
      Reply Reply  
    5. June 5, 2020 1:08 PM
      pegasus pegasus is offline
      VaultWiki Team
      Since you found it, you should take the credit and make the report. But I would appreciate a link to it so I can see what their overall thinking is.
      Reply Reply  
    6. June 5, 2020 1:13 PM
      SeToY SeToY is offline
      Junior Member
      https://xenforo.com/community/thread...n-list.181341/
      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:42 PM.
    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.