• 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
    • Call to undefined method vw_Version_Model_XF::template_version()

    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: Call to undefined method vw_Version_Model_XF::template_version()

    • Issue Tools
      • View Changes
    1. issueid=5420 June 28, 2018 8:13 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Call to undefined method vw_Version_Model_XF::template_version()

      I got this error when testing upgrade to 4.0.23b on my staging server:

      Error: Call to undefined method vw_Version_Model_XF::template_version() - vault/core/view/stylevar/vw.php:39
      Generated By: alfa, A moment ago

      Stack Trace
      #0 /vault/core/view/stylevar/xf.php(62): vw_StyleVar_View->ready()
      #1 /vault/core/view/template/xf.php(47): vw_StyleVar_View_XF->ready()
      #2 /vault/core/view/template/xf.php(102): vw_Template_View_XF->_construct_delayed()
      #3 /vault/core/model/vw.php(717): vw_Template_View_XF->ready()
      #4 /vault/core/view/cp/xf.php(40): vw_Hard_Core::fetch_template('page_container_...', 'Admin')
      #5 /vault/core/view/cp/xf.php(402): vw_CP_View_XF->print_script_output()
      #6 /vault/core/controller/cp/vw.php(339): vw_CP_View_XF->response()
      #7 /library/vw/XenForo/ControllerAdmin/Wiki.php(129): vw_CP_Controller->response()
      #8 /library/vw/XenForo/ControllerAdmin/Wiki.php(182): vw_XenForo_ControllerAdmin_Wiki->actionIndex()
      #9 /library/XenForo/FrontController.php(369): vw_XenForo_ControllerAdmin_Wiki->actionUpgrade()
      #10 /library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #11 /admin.php(13): XenForo_FrontController->run()
      #12 {main}
      Request State
      array(3) {
      ["url"] => string(60) "/admin.php?wiki/upgrade"
      ["_GET"] => array(1) {
      ["wiki/upgrade"] => string(0) ""
      }
      ["_POST"] => array(0) {
      }
      }

      xf 1.5.21
      php 7.2.5
    Issue Details
    Issue Number 5420
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Cannot Reproduce
    Priority 3 - Loss of Functionality
    Affected Version 4.0.23
    Fixed Version (none)
    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. June 28, 2018 9:28 PM
      pegasus pegasus is offline
      VaultWiki Team
      The method named "template_version" is defined in vault/core/model/version/vw.php since 4.0.20. Every copy of the ZIP for 4.0.23 build 002 that I downloaded has this method.

      Check the file contents to make sure it is a 4.0.23 file and that it contains the method in question. Then try restarting your PHP 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 11:25 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.