• 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 rendering template public:vw_search.less: error evaluating function `min` incompatible types index

    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 rendering template public:vw_search.less: error evaluating function `min` incompatible types index

    • Issue Tools
      • View Changes
    1. issueid=5713 April 17, 2019 12:48 PM
      expanserpb expanserpb is offline
      Junior Member
      Error rendering template public:vw_search.less: error evaluating function `min` incompatible types index

      Server error log
      XF\CssRenderException: Error rendering template public:vw_search.less: error evaluating function `min` incompatible types index: 88863 (on or near line 3508) src/XF/CssRenderException.php:87
      Generated by: Unknown account Apr 17, 2019 at 3:16 PM
      Stack trace
      3505 |
      3506 | .vw-search-button.button--cta span {
      3507 | padding: 0 8px;
      *3508*| font-size: min((@_vwsearch-actionHeight - 3px) * 0.83, 14px);
      3509 | }
      3510 |
      3511 | input.vw-search-button {
      ------------

      #0 src/XF/CssRenderer.php(408): XF\CssRenderException::createFromLessException(Object(Les s_Exception_Compiler), 'public:vw_searc...', '// Note that th...')
      #1 src/XF/CssRenderer.php(342): XF\CssRenderer->renderToCss('public:vw_searc...', '// Note that th...')
      #2 src/addons/vw/vw/XF/CssRenderer.php(39): XF\CssRenderer->renderTemplate('public:vw_searc...', NULL, true)
      #3 src/XF/CssRenderer.php(250): vw\vw\XF\CssRenderer->renderTemplate('public:vw_searc...', NULL)
      #4 src/XF/CssRenderer.php(116): XF\CssRenderer->renderTemplates(Array, Array, Array)
      #5 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
      #6 css.php(30): XF\CssWriter->run(Array, 23, 1, 'a1924073fec5ab2...')
      #7 {main}

      -------------

      Previous Less_Exception_Compiler: error evaluating function `min` incompatible types index: 88863 - src/vendor/oyejorge/less.php/lib/Less/Tree/Call.php:80
      #0 src/vendor/oyejorge/less.php/lib/Less/Tree/Expression.php(52): Less_Tree_Call->compile(Object(Less_Environment))
      #1 src/vendor/oyejorge/less.php/lib/Less/Tree/Value.php(27): Less_Tree_Expression->compile(Object(Less_Environment))
      #2 src/vendor/oyejorge/less.php/lib/Less/Tree/Rule.php(75): Less_Tree_Value->compile(Object(Less_Environment))
      #3 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Rule->compile(Object(Less_Environment))
      #4 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Object(Less_Environment))
      #5 src/vendor/oyejorge/less.php/lib/Less/Parser.php(199): Less_Tree_Ruleset->compile(Object(Less_Environment))
      #6 src/XF/CssRenderer.php(404): Less_Parser->getCss()
      #7 src/XF/CssRenderer.php(342): XF\CssRenderer->renderToCss('public:vw_searc...', '// Note that th...')
      #8 src/addons/vw/vw/XF/CssRenderer.php(39): XF\CssRenderer->renderTemplate('public:vw_searc...', NULL, true)
      #9 src/XF/CssRenderer.php(250): vw\vw\XF\CssRenderer->renderTemplate('public:vw_searc...', NULL)
      #10 src/XF/CssRenderer.php(116): XF\CssRenderer->renderTemplates(Array, Array, Array)
      #11 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
      #12 css.php(30): XF\CssWriter->run(Array, 23, 1, 'a1924073fec5ab2...')
      #13 {main}
      Request state
      array(4) {
      ["url"] => string(619) "/css.php?css=public%3Abb_code.css%2Cpublic%3Abb_code.less% 2Cpublic%3Anode_list.less%2Cpublic%3Ashare_controls.less% 2Cpublic%3Astructured_list.less%2Cpublic%3Avw_area.css%2C public%3Avw_base.less%2Cpublic%3Avw_bbcode.less%2Cpublic% 3Avw_block.less%2Cpublic%3Avw_content.less%2Cpublic%3Avw_ content_list.less%2Cpublic%3Avw_icon.less%2Cpublic%3Avw_l ist.less%2Cpublic%3Avw_popup.css%2Cpublic%3Avw_search.les s%2Cpublic%3Avw_section.less%2Cpublic%3Avw_sidebar.less%2 Cpublic%3Avw_tab.css%2Cpublic%3Avw_title.less%2Cpublic%3A extra.less%2Cpublic%3Avw_additional.less&s=23&l=1&d=15555 09402&k=a1924073fec5ab2a80e0dec6534da1e023f40c18"
      ["referrer"] => string(49) "https://chroniclesrptests.com/Folklore/Characters"
      ["_GET"] => array(5) {
      ["css"] => string(459) "public:bb_code.css,public:bb_code.less,public:node_list. less,public:share_controls.less,public:structured_list.le ss,public:vw_area.css,public:vw_base.less,public:vw_bbcod e.less,public:vw_block.less,public:vw_content.less,public :vw_content_list.less,public:vw_icon.less,public:vw_list. less,public:vw_popup.css,public:vw_search.less,public:vw_ section.less,public:vw_sidebar.less,public:vw_tab.css,pub lic:vw_title.less,public:extra.less,public:vw_additional. less"
      ["s"] => string(2) "23"
      ["l"] => string(1) "1"
      ["d"] => string(10) "1555509402"
      ["k"] => string(40) "a1924073fec5ab2a80e0dec6534da1e023f40c18"
      }
      ["_POST"] => array(0) {
      }
      }
    Issue Details
    Issue Number 5713
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Duplicate
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.0 Alpha 2
    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 (none)




    1. April 17, 2019 2:19 PM
      pegasus pegasus is offline
      VaultWiki Team
      This is a duplicate of: https://www.vaultwiki.org/issues/5648/

      It is a design flaw in the theme and XenForo (acknowledged by its developers), because the theme customizes stock XenForo style properties in a way that XenForo's stock parser cannot handle correctly in certain situations. When VaultWiki tries to make use of them, the combination causes errors.

      We worked around the problem on our end in Alpha 3, but that thread also includes instructions from the theme authors about how to correct the theme.
      Reply Reply  
    2. May 1, 2019 7:56 AM
      expanserpb expanserpb is offline
      Junior Member
      Still getting this in alpha 3. To confirm, I need to:

      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:15 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.