XF 2.2 I received this error

Roiarthur

Active member
Can someone help me to fix it please

Code:
Server error log

    InvalidArgumentException: Template public:alert_resource_purchase_insert error: Container key 'prefixes.resources' was not found src/XF/Container.php:46

    Generated by: Sylvain Jun 3, 2024 at 5:43 AM

Stack trace

#0 src/XF/App.php(3461): XF\Container->offsetGet('prefixes.resour...')
#1 src/XF/Template/Templater.php(3528): XF\App->container('prefixes.resour...')
#2 src/XF/Template/Templater.php(1132): XF\Template\Templater->fnPrefix(Object(MaZ\AUN\XF\Template\Templater), true, 'resources', 1)
#3 internal_data/code_cache/templates/l2/s51/public/alert_resource_purchase_insert.php(9): XF\Template\Templater->func('prefix', Array, true)
#4 src/XF/Template/Templater.php(1655): XF\Template\Templater->{closure}(Object(MaZ\AUN\XF\Template\Templater), Array, NULL)
#5 src/addons/Cleantalk/XF/Template/Templater.php(105): XF\Template\Templater->renderTemplate('alert_resource_...', Array, true, NULL)
#6 src/addons/MaZ/AUN/XF/Template/Templater.php(39): Cleantalk\XF\Template\Templater->renderTemplate('public:alert_re...', Array, true, NULL)
#7 src/XF/Alert/AbstractHandler.php(80): MaZ\AUN\XF\Template\Templater->renderTemplate('public:alert_re...', Array)
#8 src/XF/Entity/UserAlert.php(71): XF\Alert\AbstractHandler->render(Object(XF\Entity\UserAlert))
#9 src/XF/Template/Templater.php(1195): XF\Entity\UserAlert->render()
#10 internal_data/code_cache/templates/l2/s51/public/alert_macros.php(19): XF\Template\Templater->method(Object(XF\Entity\UserAlert), 'render', Array)
#11 src/XF/Template/Templater.php(828): XF\Template\Templater->{closure}(Object(MaZ\AUN\XF\Template\Templater), Array, NULL)
#12 internal_data/code_cache/templates/l2/s51/public/account_alerts_popup.php(17): XF\Template\Templater->callMacro('alert_macros', 'row', Array, Array)
#13 src/XF/Template/Templater.php(1655): XF\Template\Templater->{closure}(Object(MaZ\AUN\XF\Template\Templater), Array, NULL)
#14 src/addons/Cleantalk/XF/Template/Templater.php(105): XF\Template\Templater->renderTemplate('account_alerts_...', Array, true, NULL)
#15 src/addons/MaZ/AUN/XF/Template/Templater.php(39): Cleantalk\XF\Template\Templater->renderTemplate('public:account_...', Array, true, NULL)
#16 src/XF/Template/Template.php(24): MaZ\AUN\XF\Template\Templater->renderTemplate('public:account_...', Array)
#17 src/XF/Mvc/Renderer/Json.php(86): XF\Template\Template->render()
#18 src/XF/Mvc/Renderer/Json.php(70): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Account\\Aler...', 'public:account_...', Array)
#19 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Json->renderView('XF:Account\\Aler...', 'public:account_...', Array)
#20 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#21 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#22 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#23 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#24 src/XF.php(524): XF\App->run()
#25 index.php(20): XF::runApp('XF\\Pub\\App')
#26 {main}

Request state

array(4) {
  ["url"] => string(145) "/account/alerts-popup?_xfRequestUri=%2F&_xfWithData=1&_xfToken=1717407824%2C99f8065c1de53981c9b3f92f7d0b04a0&_xfResponseType=json&_=1717407824198"
  ["referrer"] => string(36) "https://www.tutoriaux-excalibur.com/"
  ["_GET"] => array(5) {
    ["_xfRequestUri"] => string(1) "/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1717407824,99f8065c1de53981c9b3f92f7d0b04a0"
    ["_xfResponseType"] => string(4) "json"
    ["_"] => string(13) "1717407824198"
  }
  ["_POST"] => array(0) {
  }
}
 
Back
Top Bottom