XF 2.1 Critical : templates broken after 2.1.0b3 update

Jean-Baptiste

Well-known member
Hello,

I updated to the latest 2.1 beta version 3, but everything is now broken (I rebuilt the maste data, but it didn't fix the problem) :

289_RealityGaming_2018-11-28_16-58-05.png


Any ideas ?
 
This is one of the mistakes

Code:
Registro de errores del servidor
Less_Exception_Compiler: variable @fa-var-remove is undefined in file anonymous-file-0.less in anonymous-file-0.less
src/vendor/oyejorge/less.php/lib/Less/Tree/Variable.php:49
Generado por: Cuenta desconocida
22 Dic 2018 a las 00:29
Seguimiento
#0 src/vendor/oyejorge/less.php/lib/Less/Tree/Expression.php(52): Less_Tree_Variable->compile(Object(Less_Environment))
#1 src/vendor/oyejorge/less.php/lib/Less/Tree/Mixin/Call.php(43): Less_Tree_Expression->compile(Object(Less_Environment))
#2 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(147): Less_Tree_Mixin_Call->compile(Object(Less_Environment))
#3 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(88): Less_Tree_Ruleset->EvalMixinCalls(Object(Less_Tree_Ruleset), Object(Less_Environment), 6)
#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/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Object(Less_Environment))
#6 src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Object(Less_Environment))
#7 src/vendor/oyejorge/less.php/lib/Less/Parser.php(199): Less_Tree_Ruleset->compile(Object(Less_Environment))
#8 src/XF/CssRenderer.php(394): Less_Parser->getCss()
#9 src/XF/CssRenderer.php(342): XF\CssRenderer->renderToCss('public:notices....', '// Note that th...')
#10 src/XF/CssRenderer.php(250): XF\CssRenderer->renderTemplate('public:notices....', NULL)
#11 src/XF/CssRenderer.php(116): XF\CssRenderer->renderTemplates(Array, Array, Array)
#12 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
#13 css.php(30): XF\CssWriter->run(Array, 4, 2, '73012143c381db8...')
#14 {main}
Estado de la solicitud
array(4) {
  ["url"] => string(353) "/foro/css.php?css=public%3ACode_block.less%2Cpublic%3ACode_block_controls_menu.less%2Cpublic%3ACode_line_numbers.less%2Cpublic%3AGoogleSearch.less%2Cpublic%3Anotices.less%2Cpublic%3Arellect_favicon.less%2Cpublic%3Ath_covers.less%2Cpublic%3Ath_nodeStyling_nodes.4.less%2Cpublic%3Aextra.less&s=4&l=2&d=1544301046&k=73012143c381db894dda954861aab7f43dd99de0"
  ["referrer"] => string(125) "https://foromineros.com/foro/index.php?login/two-step&_xfRedirect=https%3A%2F%2Fforomineros.com%2Fforo%2Findex.php&remember=1"
  ["_GET"] => array(5) {
    ["css"] => string(237) "public:Code_block.less,public:Code_block_controls_menu.less,public:Code_line_numbers.less,public:GoogleSearch.less,public:notices.less,public:rellect_favicon.less,public:th_covers.less,public:th_nodeStyling_nodes.4.less,public:extra.less"
    ["s"] => string(1) "4"
    ["l"] => string(1) "2"
    ["d"] => string(10) "1544301046"
    ["k"] => string(40) "73012143c381db894dda954861aab7f43dd99de0"
  }
  ["_POST"] => array(0) {
  }
}
 
Another
Code:
Registro de errores del servidor
ErrorException: Template error: Template public:setup_fa_variables.less is unknown
src/XF/Template/Templater.php:610
Generado por: Cuenta desconocida
22 Dic 2018 a las 00:29
Seguimiento
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template public...', '/var/www/vhosts...', 610, Array)
#1 src/XF/Template/Templater.php(610): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(561): XF\Template\Templater->getTemplateData('public', 'setup_fa_variab...')
#3 src/XF/Template/Templater.php(1292): XF\Template\Templater->getTemplateCode('public', 'setup_fa_variab...')
#4 src/XF/Template/Templater.php(1366): XF\Template\Templater->renderTemplate('setup_fa_variab...', Array)
#5 internal_data/code_cache/templates/l2/s4/public/setup.less.php(41): XF\Template\Templater->includeTemplate('public:setup_fa...', Array)
#6 src/XF/Template/Templater.php(1293): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array)
#7 src/XF/CssRenderer.php(649): XF\Template\Templater->renderTemplate('setup.less', Array)
#8 src/XF/CssRenderer.php(393): XF\CssRenderer->getLessPrepend()
#9 src/XF/CssRenderer.php(342): XF\CssRenderer->renderToCss('public:login_st...', '.button.button-...')
#10 src/XF/CssRenderer.php(250): XF\CssRenderer->renderTemplate('public:login_st...', NULL)
#11 src/XF/CssRenderer.php(116): XF\CssRenderer->renderTemplates(Array, Array, Array)
#12 src/XF/CssWriter.php(53): XF\CssRenderer->render(Array)
#13 css.php(30): XF\CssWriter->run(Array, 4, 2, '352ba28640dcc9a...')
#14 {main}
Estado de la solicitud
array(4) {
  ["url"] => string(381) "/foro/css.php?css=public%3ACode_block.less%2Cpublic%3ACode_block_controls_menu.less%2Cpublic%3ACode_line_numbers.less%2Cpublic%3AGoogleSearch.less%2Cpublic%3Alogin_steam.less%2Cpublic%3Anotices.less%2Cpublic%3Arellect_favicon.less%2Cpublic%3Ath_covers.less%2Cpublic%3Ath_nodeStyling_nodes.4.less%2Cpublic%3Aextra.less&s=4&l=2&d=1544301046&k=352ba28640dcc9a460199b86c03d058046055bca"
  ["referrer"] => string(45) "https://foromineros.com/foro/index.php?login/"
  ["_GET"] => array(5) {
    ["css"] => string(261) "public:Code_block.less,public:Code_block_controls_menu.less,public:Code_line_numbers.less,public:GoogleSearch.less,public:login_steam.less,public:notices.less,public:rellect_favicon.less,public:th_covers.less,public:th_nodeStyling_nodes.4.less,public:extra.less"
    ["s"] => string(1) "4"
    ["l"] => string(1) "2"
    ["d"] => string(10) "1544301046"
    ["k"] => string(40) "352ba28640dcc9a460199b86c03d058046055bca"
  }
  ["_POST"] => array(0) {
  }
}

I don't have CSS running in the admin panel either.
 
You have outdated templates. These will be listed on the admin CP home page and will need to be resolved.

The easiest way to do that would be to update your style to a 2.1 compatible version if one has been released already.
 
the main theme doesn't work either

You have outdated templates. These will be listed on the admin CP home page and will need to be resolved.

The easiest way to do that would be to update your style to a 2.1 compatible version if one has been released already.
How can I fix outdated templates? Is it recommended to use the primary version or the custom version ?
 
Back
Top Bottom