Fixed Can't delete widgets in XF2.1

Jaxel

Well-known member
Affected version
2.1
Code:
Template admin:widget_delete: Template admin:widget_delete is unknown (src/XF/Template/Templater.php:610)

When clicking the trash can in the widget list.
 
Confirm this. 2.1 Beta 2.

Code:
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template admin:...', '...', 610, Array)
#1 src/XF/Template/Templater.php(610): trigger_error('Template admin:...', 512)
#2 src/XF/Template/Templater.php(561): XF\Template\Templater->getTemplateData('admin', 'widget_delete')
#3 src/XF/Template/Templater.php(1292): XF\Template\Templater->getTemplateCode('admin', 'widget_delete')
#4 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('widget_delete', Array)
#5 src/XF/Mvc/Renderer/Json.php(83): XF\Template\Template->render()
#6 src/XF/Mvc/Renderer/Json.php(67): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Widget\\Delet...', 'admin:widget_de...', Array)
#7 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Json->renderView('XF:Widget\\Delet...', 'admin:widget_de...', Array)
#8 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#11 src/XF/App.php(2155): XF\Mvc\Dispatcher->run()
#12 src/XF.php(389): XF\App->run()
#13 admin.php(13): XF::runApp('XF\\Admin\\App')
#14 {main}
 
Thank you for reporting this issue. The issue is now resolved and we are aiming to include that in a future XF release (2.1.0 Beta 3).

Change log:
Add the missing widget_delete template back.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Back
Top Bottom