• 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
    • Wiki Disabled - Still getting error messages

    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: Wiki Disabled - Still getting error messages

    • Issue Tools
      • View Changes
    1. issueid=5939 December 26, 2019 1:43 PM
      dvsDave dvsDave is offline
      Regular Member
      Wiki Disabled - Still getting error messages
      Template error: Function vw_fa_weight is unknown src/XF/Template/Templater.php:914

      ErrorException: Template error: Function vw_fa_weight is unknown src/XF/Template/Templater.php:914
      Generated by: Unknown account Dec 26, 2019 at 1:21 PM
      Stack trace
      #0 [internal function]: XF\Template\Templater->handleTemplateError()
      #1 src/XF/Template/Templater.php(914): trigger_error()
      #2 internal_data/code_cache/templates/l1/s23/public/vw_tab.less.php(67): XF\Template\Templater->func()
      #3 src/XF/Template/Templater.php(1315): XF\Template\Templater->{closure}()
      #4 src/XF/CssRenderer.php(323): XF\Template\Templater->renderTemplate()
      #5 src/XF/CssRenderer.php(250): XF\CssRenderer->renderTemplate()
      #6 src/XF/CssRenderer.php(116): XF\CssRenderer->renderTemplates()
      #7 src/XF/CssWriter.php(53): XF\CssRenderer->render()
      #8 css.php(30): XF\CssWriter->run()
      #9 {main}
      Request state
      array(4) {
      ["url"] => string(581) "/css.php?css=public%3ACMTV_Math.less%2Cpublic%3Abb_code.cs s%2Cpublic%3Abb_code.less%2Cpublic%3Alightbox.less%2Cpubl ic%3Anotices.less%2Cpublic%3Athstyleswitch.less%2Cpublic% 3Avw_base.less%2Cpublic%3Avw_bbcode.less%2Cpublic%3Avw_bl ock.less%2Cpublic%3Avw_content.less%2Cpublic%3Avw_icon.le ss%2Cpublic%3Avw_list.less%2Cpublic%3Avw_popup.css%2Cpubl ic%3Avw_search.less%2Cpublic%3Avw_section.less%2Cpublic%3 Avw_sidebar.less%2Cpublic%3Avw_tab.less%2Cpublic%3Avw_tit le.less%2Cpublic%3Aextra.less%2Cpublic%3Avw_additional.le ss&s=23&l=1&d=1575302559&k=74b86d91c6db1bea152e9ff7375458 8cb9b84644"
      ["referrer"] => string(44) "https://www.controlbooth.com/wiki/stage-jack"
      ["_GET"] => array(5) {
      ["css"] => string(425) "public:CMTV_Math.less,public:bb_code.css,public:bb_code. less,public:lightbox.less,public:notices.less,public:thst yleswitch.less,public:vw_base.less,public:vw_bbcode.less, public:vw_block.less,public:vw_content.less,public:vw_ico n.less,public:vw_list.less,public:vw_popup.css,public:vw_ search.less,public:vw_section.less,public:vw_sidebar.less ,public:vw_tab.less,public:vw_title.less,public:extra.les s,public:vw_additional.less"
      ["s"] => string(2) "23"
      ["l"] => string(1) "1"
      ["d"] => string(10) "1575302559"
      ["k"] => string(40) "74b86d91c6db1bea152e9ff73754588cb9b84644"
      }
      ["_POST"] => array(0) {
      }
      }
    Issue Details
    Issue Number 5939
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Forum Bug
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.0 Beta 4
    Fixed Version (none)
    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 templates




    1. December 26, 2019 4:20 PM
      pegasus pegasus is offline
      VaultWiki Team
      How long after the act of disabling VaultWiki did this error occur? This error occurred when a wiki page was accessed. It should not be possible to access a wiki page while VaultWiki is already disabled because XenForo would not be able to route the page. If you are still able to access wiki pages long after disabling, then this is a problem in XenForo, because it should not be routing requests to a disabled add-on.

      However, due to race conditions in XenForo, it is normal for errors like this to occur if users visit wiki pages while XenForo's add-on disable process is still in progress. There is no way for VaultWiki to prevent that. Maybe some design changes in XenForo could improve it, but it might not be possible to completely prevent.

      This occurred because a VaultWiki style template, which uses VaultWiki-related functions, attempted to render in the CSS for a wiki page, where the CSS was requested after VaultWiki's code event listeners were already disabled by XenForo (thus the called functions were not available). Since VaultWiki's code event listeners were already disabled, there is no way for VaultWiki to detect and prevent this situation. Further, it is theoretically possible to continue generating this error by manually requesting this CSS URL long after VaultWiki is disabled. If this is the case, this may be a design flaw in XenForo, which arguably should never attempt to render templates that were added by add-ons if those add-ons are currently disabled. If you can reproduce this error long after VaultWiki is disabled, you may want to describe the problem to XenForo's development team.
      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 7:14 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.