[FIXED] Template error: sprintf(): Too few arguments

developr

New Member
  • ErrorException: Template error: sprintf(): Too few arguments
  • src/addons/Truonglv/Groups/Callback.php:137
Code:
#0 [internal function]: XF\Template\Templater->handleTemplateError(2, 'sprintf(): Too ...', '/srv/www/...', 137, Array)
#1 src/addons/Truonglv/Groups/Callback.php(137): sprintf('<span class="%s...', 'groupCover--tex...')
#2 [internal function]: Truonglv\Groups\Callback::renderCover('', Array, Object(xenMade\LAU\XF\Template\Templater))
#3 src/XF/Template/Templater.php(1339): call_user_func(Array, '', Array, Object(xenMade\LAU\XF\Template\Templater))
#4 internal_data/code_cache/templates/l4/s3/public/tl_groups_group_list_macros.php(257): XF\Template\Templater->callback('Truonglv\\Groups...', 'renderCover', '', Array)
#5 src/XF/Template/Templater.php(663): XF\Template\Templater->{closure}(Object(xenMade\LAU\XF\Template\Templater), Array, Array)
#6 internal_data/code_cache/templates/l4/s3/public/tl_groups_group_list_macros.php(157): XF\Template\Templater->callMacro('tl_groups_group...', 'group', Array, Array)
#7 src/XF/Template/Templater.php(663): XF\Template\Templater->{closure}(Object(xenMade\LAU\XF\Template\Templater), Array, Array)
#8 internal_data/code_cache/templates/l4/s3/public/tl_groups_group_list_macros.php(102): XF\Template\Templater->callMacro('tl_groups_group...', 'group_list', Array, Array)
#9 src/XF/Template/Templater.php(663): XF\Template\Templater->{closure}(Object(xenMade\LAU\XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l4/s3/public/tl_groups_category_view.php(51): XF\Template\Templater->callMacro('tl_groups_group...', 'group_list_bloc...', Array, Array)
#11 src/XF/Template/Templater.php(1250): XF\Template\Templater->{closure}(Object(xenMade\LAU\XF\Template\Templater), Array)
#12 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('tl_groups_categ...', Array)
#13 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#14 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('Truonglv\\Groups...', 'public:tl_group...', Array)
#15 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#16 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#17 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#18 src/XF.php(333): XF\App->run()
#19 index.php(13): XF::runApp('XF\\Pub\\App')
#20 {main}
 
Top