"Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "globalcontent:header_navigation" on line 29 "{menu childrenof=socios}" unknown tag "menu"' in /home/jcpdr/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:702 Stack trace: #0 /home/jcpdr/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(488): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "me...', 29) #1 /home/jcpdr/public_html/lib/smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('menu', Array) #2 /home/jcpdr/public_html/lib/smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36() #3 /home/jcpdr/public_html/lib/smarty/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(36) #4 /home/jcpdr/public_html/lib/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smart in /home/jcpdr/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 702"
While I am given this error on the backend, the page works without problems on the frontend. The cause of the error as far as I can tell is related to both the {menu} and {search} module calls in my header_navigation GBC. If I remove the calls to {menu}, it throws the same error due to the {search} tag, but if I remove both, it doesn't throws the error and I can edit pages. But then again, it won't show items on the front end. Here is the code in said content block:
Code: Select all
<!-- ========== Header & Navigation ========== -->
<header>
<div class="content">
<h1>
{if $page_lang == 'es'}
{cms_selflink page='espanol' text='JCP'}
{else}
{cms_selflink page='english' text='JCP'}
{/if}
</h1>
<nav>
{global_content name='mobile_nav'}
<!-- Nav -->
<ul class="nav">
{* SPANISH NAV *}
{if $page_lang == 'es'}
<li>{cms_selflink page='la-firma'}</li>
<li>
{cms_selflink page='abogados'}
<div class="navsub partners">
<div class="block">
<p>Socios</p>
{menu childrenof=socios}
</div>
<div class="block">
<p>Asociados</p>
{menu childrenof=asociados}
</div>
</div>
</li>
<li>
{cms_selflink page='industrias-y-practica'}
<div class="navsub areaspractica">
<div class="block">
<p>Industrias y Areas de Práctica</p>
{menu start_element="2.4"}
</div>
</div>
</li>
<li>{cms_selflink page='noticias'}</li>
<li>{cms_selflink page='contacto'}</li>
{else}
{* ENGLISH NAV *}
<li>{cms_selflink page='the-firm'}</li>
<li>
{cms_selflink page='lawyers'}
<div class="navsub">
<div class="block partners">
<p>Partners</p>
{menu childrenof=partners}
</div>
<div class="block">
<p>Associates</p>
{menu childrenof=associates}
</div>
</div>
</li>
<li>
{cms_selflink page='industries-practice'}
<div class="navsub areaspractica">
<div class="block">
<p>Industries & Practice Areas</p>
{menu start_element="3.4"}
</div>
</div>
</li>
<li>{cms_selflink page='news'}</li>
<li>{cms_selflink page='contact-us'}</li>
{/if}
{if $page_lang == 'es'}
<li class="lang"><a href="{cms_selflink href=$en_alias}"><i class="icon-flag"></i> English</a></li>
{else}
<li class="lang"><a href="{cms_selflink href=$es_alias}"><i class="icon-flag"></i> Español</a></li>
{/if}
</ul>
</nav><!-- /nav -->
{global_content name='search_webmail'}
</div>
</header><!-- /header -->
AdvancedContent 0.9.4.3
CGBlog 1.9.12
CGExtensions 1.35
CGSimpleSmarty 1.6.2
CGSmartImage 1.10.10
CMSMailer 5.2.1
CMSPrinting 1.0.4
FileManager 1.4.3
FormBuilder 0.7.3
Gallery 1.6.1
ListIt2 1.4
MenuManager 1.8.5
MicroTiny 1.2.5
ModuleManager 1.5.5
News 2.12.12
Search 1.7.8
ThemeManager 1.1.8