• 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
    • Fatal Error: attempted to instantiate non-existent class vw_UI_Tab_Template_Model

    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: Fatal Error: attempted to instantiate non-existent class vw_UI_Tab_Template_Model

    • Issue Tools
      • View Changes
    1. issueid=5492 September 23, 2018 7:01 AM
      ACL ACL is offline
      Regular Member
      Fatal Error: attempted to instantiate non-existent class vw_UI_Tab_Template_Model

      This error is VaultWiki-generated rather than something that is logged via XenForo.

      Fatal Error: attempted to instantiate non-existent class vw_UI_Tab_Template_Model
      [path]/vault/core/model/ui/tab/template/vw.php does not exist or does not contain the specified class.

      Stack trace:
      Code:
      #0: vw_Hard_Core::fetch_object() in [path]/vault/core/model/vw.php at line 697
      #1: vw_Hard_Core::model() in [path]/vault/core/controller/ui/create/vw.php at line 187
      #2: vw_UI_Create_Controller->can_create() in [path]/vault/core/controller/ui/create/vw.php at line 163
      #3: vw_UI_Create_Controller->get_default_area() in [path]/vault/core/controller/ui/create/vw.php at line 99
      #4: vw_UI_Create_Controller->create() in [path]/vault/core/controller/ui/index/vw.php at line 59
      #5: vw_UI_Index_Controller->create() in [path]/vault/core/controller/ui/index/vw.php at line 39
      #6: vw_UI_Index_Controller->execute() in [path]/vault/core/controller/ui/stack/vw.php at line 276
      #7: vw_UI_Stack_Controller->execute() in [path]/library/vw/XenForo/ControllerPublic/Wiki.php at line 70
      #8: vw_XenForo_ControllerPublic_Wiki->actionIndex() in [path]/library/XenForo/FrontController.php at line 369
      #9: XenForo_FrontController->dispatch() in [path]/library/XenForo/FrontController.php at line 152
      #10: XenForo_FrontController->run() in [path]/index.php at line 13
      The VaultWiki version currently in use on my site is 4.0.23, but I have opened 4.0.24 (build 002). In both cases, I can't see a folder called 'template' in /vault/core/model/ui/tab/.


      ----

      Also, XenForo smilies in [template] red links are being rendered, which makes for some unusual hyperlinks, such as:

      /wiki/Template-img-src-styles-default-xenforo-clear-png-class-mceSmilieSprite-mceSmilie7-alt-:p-title-Stick-Out-Tongue:p-age-for-template?expecttypeid=24

      This smilie issue doesn't affect [wiki] or [file] red links, from what I can see.
    Issue Details
    Issue Number 5492
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Templates
    Status Duplicate
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.23
    Fixed Version (none)
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. September 23, 2018 11:11 AM
      pegasus pegasus is offline
      VaultWiki Team
      This is already reported by: https://www.vaultwiki.org/issues/5483/
      It is fixed in 4.0.24 build 002. The 'template' folder is not added but the code which tried to access it has been changed.
      Reply Reply  
    2. September 23, 2018 11:48 AM
      pegasus pegasus is offline
      VaultWiki Team
      For the smilie issue... in vault/core/model/parser/handle/wrapper/xf.php, find:
      Code:
      $output['option'] = $this->parent->vwGetFormatter()->filterString($output['option'], $output['states']);
      Replace with:
      Code:
      			$output['option'] = $this->parent->vwGetFormatter()->filterString($output['option'], array(
      				'stopSmilies' => true,
      				'stopLineBreakConversion' => true
      			) + $output['states']);
      Reply Reply  
    3. September 23, 2018 8:39 PM
      ACL ACL is offline
      Regular Member
      Thank you. Guess I didn't look hard enough for that existing report, oops!
      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:00 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.