Page 1 of 1

Multilingual Plugin, multiple Categories: Error in preview

Posted: Sun Nov 26, 2017 4:44 pm
by stephanbrunker
My blog is bilingual, and such are my categories. If i create an article which in more than one category, i get an error in the preview window:
s9y-10.JPG (70.23 KiB) Viewed 1683 times
That error is in the last line out of this smarty generated content:

Code: Select all

foreach ($_from as $_smarty_tpl->tpl_vars["entry_category"]->value) {
$_smarty_tpl->tpl_vars["entry_category"]->_loop = true;
$_smarty_tpl->tpl_vars['__foreach_categories']->value['last'] = $_smarty_tpl->tpl_vars['__foreach_categories']->value['iteration'] == $_smarty_tpl->tpl_vars['__foreach_categories']->value['total'];
$foreach_entry_category_Sav = $_smarty_tpl->tpl_vars["entry_category"];
?><a href="<?php echo $_smarty_tpl->tpl_vars['entry_category']->value['category_link'];?>
"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['multilingual_lang'][0][0]->strip_langs($_smarty_tpl->tpl_vars['entry_category']->value['category_name']);?>
It looks like there is perhaps one zero line too much, that the strip_langs then is called for zero.