pecadm
Active member
Since the successful update of Forum and XFMG from 1.5 to 2.2 we permanently receive error messages about missing templates like the following one.
ErrorException: Template error: [E_USER_WARNING] Template public:alert_xfmg_album_share is unknown
src/XF/Template/Templater.php:664
We are getting the same for the template "public:alert_user_xengallery_media_delete".
Thanks in advance for any help.
ErrorException: Template error: [E_USER_WARNING] Template public:alert_xfmg_album_share is unknown
src/XF/Template/Templater.php:664
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/var/www/vhosts...', 664, Array)
#1 src/XF/Template/Templater.php(664): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(1593): XF\Template\Templater->getTemplateData('public', 'alert_xfmg_albu...')
#3 src/XF/Alert/AbstractHandler.php(80): XF\Template\Templater->renderTemplate('alert_xfmg_albu...', Array)
#4 src/XF/Entity/UserAlert.php(71): XF\Alert\AbstractHandler->render(Object(XF\Entity\UserAlert))
#5 [internal function]: XF\Entity\UserAlert->render()
#6 src/XF/Template/Templater.php(1166): call_user_func_array(Array, Array)
#7 internal_data/code_cache/templates/l3/s17/public/alert_macros.php(19): XF\Template\Templater->method(Object(XF\Entity\UserAlert), 'render', Array)
#8 src/XF/Template/Templater.php(799): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#9 internal_data/code_cache/templates/l3/s17/public/account_alerts_popup.php(19): XF\Template\Templater->callMacro('alert_macros', 'row', Array, Array)
#10 src/XF/Template/Templater.php(1626): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#11 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('account_alerts_...', Array)
#12 src/XF/Mvc/Renderer/Json.php(84): XF\Template\Template->render()
#13 src/XF/Mvc/Renderer/Json.php(68): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Account\\Aler...', 'public:account_...', Array)
#14 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Json->renderView('XF:Account\\Aler...', 'public:account_...', Array)
#15 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#16 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#18 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#19 src/XF.php(488): XF\App->run()
#20 index.php(20): XF::runApp('XF\\Pub\\App')
#21 {main}
array(4) {
["url"] => string(183) "/account/alerts-popup?xfRequestUri=%2Fmedia%2Falbums%2Falbum1.145%2F&_xfWithData=1&_xfToken=1613289753%2C562c4dafd32beed14614ff9e9987b715&_xfResponseType=json&=1613290136610"
["referrer"] => string(60) "https://www.domain.com/media/albums/album1.145/"
["_GET"] => array(5) {
["_xfRequestUri"] => string(33) "/media/albums/album1.145/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1613289753,562c4dafd32beed14614ff9e9987b715"
["_xfResponseType"] => string(4) "json"
["_"] => string(13) "1613290136610"
}
["_POST"] => array(0) {
}
}
We are getting the same for the template "public:alert_user_xengallery_media_delete".
Thanks in advance for any help.