I can't activate a template edit and getting this error:
XenForo_Template_Compiler_Exception: Line 9: Cannot have content-checking if tag without a contentcheck part. - library/XenForo/Template/Compiler.php:983
#0 /home/user/public_html/library/XenForo/Template/Compiler/Tag/If.php(138): XenForo_Template_Compiler->getNewCompilerException(Object(XenForo_Phrase), 9)
#1 /home/user/public_html/library/XenForo/Template/Compiler.php(638): XenForo_Template_Compiler_Tag_If->compile(Object(TMS_Template_Compiler), 'if', Array, Array, Array)
#2 /home/user/public_html/library/XenForo/Template/Compiler.php(567): XenForo_Template_Compiler->compileTag('if', Array, Array, Array)
#3 /home/user/public_html/library/XenForo/Template/Compiler.php(506): XenForo_Template_Compiler->compileSegment(Array, Array)
#4 /home/user/public_html/library/XenForo/Template/Compiler/Tag/If.php(107): XenForo_Template_Compiler->compileSegments(Array, Array)
#5 /home/user/public_html/library/XenForo/Template/Compiler.php(638): XenForo_Template_Compiler_Tag_If->compile(Object(TMS_Template_Compiler), 'if', Array, Array, Array)
#6 /home/user/public_html/library/XenForo/Template/Compiler.php(567): XenForo_Template_Compiler->compileTag('if', Array, Array, Array)
#7 /home/user/public_html/library/XenForo/Template/Compiler.php(506): XenForo_Template_Compiler->compileSegment(Array, Array)
#8 /home/user/public_html/library/XenForo/Template/Compiler/Tag/If.php(107): XenForo_Template_Compiler->compileSegments(Array, Array)
#9 /home/user/public_html/library/XenForo/Template/Compiler.php(638): XenForo_Template_Compiler_Tag_If->compile(Object(TMS_Template_Compiler), 'if', Array, Array, Array)
#10 /home/user/public_html/library/XenForo/Template/Compiler.php(567): XenForo_Template_Compiler->compileTag('if', Array, Array, Array)
#11 /home/user/public_html/library/XenForo/Template/Compiler.php(506): XenForo_Template_Compiler->compileSegment(Array, Array)
#12 /home/user/public_html/library/XenForo/Template/Compiler.php(369): XenForo_Template_Compiler->compileSegments(Array)
#13 /home/user/public_html/library/TMS/Template/Compiler.php(63): XenForo_Template_Compiler->compileParsed(Array, 'sidebar_online_...', 0, 0)
#14 /home/user/public_html/library/TMS/Model/Template.php(36): TMS_Template_Compiler->modifyAndParse('sidebar_online_...', 28, 9498)
#15 /home/user/public_html/library/TMS/Model/Template.php(159): TMS_Model_Template->getEffectiveTemplateByTitle('sidebar_online_...', 28)
#16 /home/user/public_html/library/XenForo/Model/Template.php(1014): TMS_Model_Template->compileAndInsertParsedTemplate(4026, Array, 'sidebar_online_...', 28)
#17 /home/user/public_html/library/XenForo/Model/Template.php(986): XenForo_Model_Template->compileTemplateInStyleTree(Array)
#18 /home/user/public_html/library/TMS/DataWriter/Modification.php(212): XenForo_Model_Template->compileMappedTemplatesInStyleTree(Array)
#19 /home/user/public_html/library/TMS/DataWriter/Modification.php(182): TMS_DataWriter_Modification->_recompileAssociatedTemplates()
#20 /home/user/public_html/library/XenForo/DataWriter.php(1385): TMS_DataWriter_Modification->_postSave()
#21 /home/user/public_html/library/XenForo/ControllerAdmin/Abstract.php(126): XenForo_DataWriter->save()
#22 /home/user/public_html/library/TMS/ControllerAdmin/Modification.php(238): XenForo_ControllerAdmin_Abstract->_getToggleResponse(Array, 'TMS_DataWriter_...', 'template-modifi...')
#23 /home/user/public_html/library/XenForo/FrontController.php(310): TMS_ControllerAdmin_Modification->actionToggle()
#24 /home/user/public_html/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#25 /home/user/public_html/admin.php(13): XenForo_FrontController->run()
#26 {main}
array(3) {
["url"] => string(65) "
http://www.site.com/admin.php?template-modifications/toggle"
["_GET"] => array(1) {
["template-modifications/toggle"] => string(0) ""
}
["_POST"] => array(8) {
["filter"] => string(0) ""
["exists"] => array(18) {
[16] => string(1) "1"
[11] => string(1) "1"
[15] => string(1) "1"
[14] => string(1) "1"
[13] => string(1) "1"
[10] => string(1) "1"
[9] => string(1) "1"
[17] => string(1) "1"
[12] => string(1) "1"
[31] => string(1) "1"
[32] => string(1) "1"
[33] => string(1) "1"
[34] => string(1) "1"
[22] => string(1) "1"
[23] => string(1) "1"
[24] => string(1) "1"
[25] => string(1) "1"
[26] => string(1) "1"
}
["id"] => array(12) {
[16] => string(1) "1"
[11] => string(1) "1"
[10] => string(1) "1"
[9] => string(1) "1"
[31] => string(1) "1"
[32] => string(1) "1"
[33] => string(1) "1"
[34] => string(1) "1"
[22] => string(1) "1"
[23] => string(1) "1"
[24] => string(1) "1"
[26] => string(1) "1"
}
["style_id"] => string(2) "30"
["_xfToken"] => string(53) "1,1335032683,3ddd2ffb7f61cb96cd871478e76b2317d57f346b"
["_xfRequestUri"] => string(52) "/admin.php?styles/nostalji.30/template-modifications"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}