OW Debug - Exception
Message:
Syntax Error in template "/var/www//ow_system_plugins/base/views/components/comments_list.html" on line 22 "{$comment.content|more:$comment.previewMaxChar}" unknown modifier "more"
File:
/var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templatecompilerbase.php
Line:
657
Trace:
#0 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_compile_private_modifier.php(132): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown modifie...', 22)
#1 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(475): Smarty_Internal_Compile_Private_Modifier->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL)
#2 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(249): Smarty_Internal_TemplateCompilerBase->callTagCompiler('private_modifie...', Array, Array)
#3 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_compile_private_print_expression.php(65): Smarty_Internal_TemplateCompilerBase->compileTag('private_modifie...', Array, Array)
#4 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(465): Smarty_Internal_Compile_Private_Print_Expression->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL)
#5 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(249): Smarty_Internal_TemplateCompilerBase->callTagCompiler('private_print_e...', Array, Array)
#6 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templateparser.php(2358): Smarty_Internal_TemplateCompilerBase->compileTag('private_print_e...', Array, Array)
#7 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r28()
#8 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(28)
#9 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '\r\n\n ...')
#10 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('
Type:
And replacedL
{if !empty($comment.previewMaxChar)} {$comment.content|more:$comment.previewMaxChar} {else} {$comment.content} {/if}
to
{if !empty($comment.previewMaxChar)} {$comment.content} {else} {$comment.content} {/if}
Now works.