• We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Bug admin:widget_def_options_xfa_te_trophies is unknown

shaunj66

New Member
Joined
Jul 24, 2021
Messages
2
Getting this within the xfa_te_trophies widget

Code:
ErrorException: Template error: [E_USER_WARNING] Template admin:widget_def_options_xfa_te_trophies is unknown src/XF/Template/Templater.php:682
Generated by: shaunj66 Jul 24, 2021 at 11:05 AM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/var/www/vhosts...', 682, Array)
#1 src/XF/Template/Templater.php(682): trigger_error('Template admin:...', 512)
#2 src/XF/Template/Templater.php(1611): XF\Template\Templater->getTemplateData('admin', 'widget_def_opti...')
#3 src/XF/Widget/AbstractWidget.php(52): XF\Template\Templater->renderTemplate('widget_def_opti...', Array)
#4 src/XF/Entity/Widget.php(36): XF\Widget\AbstractWidget->renderOptions()
#5 [internal function]: XF\Entity\Widget->renderOptions()
#6 src/XF/Template/Templater.php(1184): call_user_func_array(Array, Array)
#7 internal_data/code_cache/templates/l1/s0/admin/widget_edit.php(103): XF\Template\Templater->method(Object(XF\Entity\Widget), 'renderOptions', Array)
#8 src/XF/Template/Templater.php(1644): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#9 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('widget_edit', Array)
#10 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#11 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Widget\\Edit', 'admin:widget_ed...', Array)
#12 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#13 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#14 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#15 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#16 src/XF.php(512): XF\App->run()
#17 admin.php(13): XF::runApp('XF\\Admin\\App')
#18 {main}
Request state
array(4) {
  ["url"] => string(35) "/admin.php?widgets/trophies.43/edit"
  ["referrer"] => string(42) "https://xf2.gbatemp.net/admin.php?widgets/"
  ["_GET"] => array(1) {
    ["widgets/trophies_43/edit"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
5,753
You don't have that template if you go to templates > admin ?

Name: widget_def_options_xfa_te_trophies
 

shaunj66

New Member
Joined
Jul 24, 2021
Messages
2
No. The template isn't there. Only 'widget_def_options_xfa_te_trophies_leadboard'
 

MtoR

Freaky Coder
Staff member
Joined
Nov 14, 2015
Messages
5,753
I checked the code, there isn't really an option for this widget.
So It's not a big deal, meaning it doesn't miss something, but I need to fix so it doesn't show an error for sure.

Clément