You can just edit out the 'use custom' as an option in the template and it will workBTW. You may add one more option, please?
To allow or dont allow the "use custom".
I want my users have "no alerts" or "alerts", but I dont want them to choose.
- No alerts
- Use defaults
- Use custom
- When the user's alert count is non-zero, the alert-popup is forced to fetch unread alerts first, and if no unread alerts are discovered this indicates the user's alert count is out-of-sync and needs to be reset.
- Add "Use stock UI for marking alerts as read" style property (default disabled)
ErrorException: Template error: [E_USER_WARNING] Template public:alert_user_chat_alert is unknown src/XF/Template/Templater.php:693
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/mesohaven...', 693)
#1 src/XF/Template/Templater.php(693): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(1622): XF\Template\Templater->getTemplateData('public', 'alert_user_chat...')
#3 src/addons/MaZ/AUN/XF/Template/Templater.php(39): XF\Template\Templater->renderTemplate('alert_user_chat...', Array, true, NULL)
#4 src/XF/Alert/AbstractHandler.php(80): MaZ\AUN\XF\Template\Templater->renderTemplate('public:alert_us...', Array)
#5 src/XF/Entity/UserAlert.php(71): XF\Alert\AbstractHandler->render(Object(NF\Discord\XF\Entity\UserAlert))
#6 src/XF/Template/Templater.php(1195): XF\Entity\UserAlert->render()
#7 internal_data/code_cache/templates/l1/s1/public/svAlertImprov_macros.php(307): XF\Template\Templater->method(Object(NF\Discord\XF\Entity\UserAlert), 'render', Array)
#8 src/XF/Template/Templater.php(828): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#9 internal_data/code_cache/templates/l1/s1/public/svAlertImprov_account_alerts_popup.php(46): XF\Template\Templater->callMacro('svAlertImprov_m...', 'alert_row', Array, Array)
#10 src/XF/Template/Templater.php(1655): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#11 src/addons/MaZ/AUN/XF/Template/Templater.php(39): XF\Template\Templater->renderTemplate('svAlertImprov_a...', Array, true, NULL)
#12 src/XF/Template/Template.php(24): MaZ\AUN\XF\Template\Templater->renderTemplate('public:svAlertI...', Array)
#13 src/XF/Mvc/Renderer/Json.php(86): XF\Template\Template->render()
#14 src/XF/Mvc/Renderer/Json.php(70): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Account\\Aler...', 'public:svAlertI...', Array)
#15 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Json->renderView('XF:Account\\Aler...', 'public:svAlertI...', Array)
#16 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#19 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#20 src/XF.php(524): XF\App->run()
#21 index.php(20): XF::runApp('XF\\Pub\\App')
#22 {main}
array(4) {
["url"] => string(195) "/account/alerts-popup?_xfRequestUri=%2Fthreads%2Fcomplete-dinosaur-found-in-france.414%2F&_xfWithData=1&_xfToken=1710038728%2C12b378457a418b58b929222e97a933a8&_xfResponseType=json&_=1710037857123"
["referrer"] => string(72) "https://mesozoichaven.com/threads/complete-dinosaur-found-in-france.414/"
["_GET"] => array(5) {
["_xfRequestUri"] => string(47) "/threads/complete-dinosaur-found-in-france.414/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1710038728,12b378457a418b58b929222e97a933a8"
["_xfResponseType"] => string(4) "json"
["_"] => string(13) "1710037857123"
}
["_POST"] => array(0) {
}
}
Nope, I uninstalled both of andy's chat and chatbox addons then ran a rebuild master data afterwards, still doing it. I have nix's discord addon but its out of date (can't afford renewal).That is unrelated to any of my add-ons or the discord integration add-on. Do you have a chat add-on installed? It is triggering alerts which don't have a template
So, how does one resolve it? I have no idea besides running the 'rebuild master data', which I did. The discord addon is installed and active, mostly used for login and not much else.If you removed an add-on and it didn't correctly mark the alerts as "owned" by that add-on this is expected as it is trying to render the alerts when the template no longer exists
Name hat auf 9 of your beiträge mit Like x 9 reagiert.
Name hat auf 9 beiträge mit Like x 9 reagiert.
reactions
blob is generated by the template svAlertImprov_macros::alert_reactions
which calls XF's reaction handling to display the reaction name + reaction count.reactedcontent
is populated by repeatedly calling sv_x_of_y_content_type
and gluing to resulting mess together with a ,
character.ErrorException: [E_WARNING] Attempt to read property "message_date" on bool
src/XF/Pub/Controller/Conversation.php:209
Generated by: Raduku85 May 10, 2024 at 13:30
Stack trace
#0 src/XF/Pub/Controller/Conversation.php(209): XF::handlePhpError(2, '[E_WARNING] Att...', '/home/laleagane...', 209)
#1 src/addons/SV/AlertImprovements/XF/Pub/Controller/Conversation.php(30): XF\Pub\Controller\Conversation->actionView(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(352): SV\AlertImprovements\XF\Pub\Controller\Conversation->actionView(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF\\Pub\\Controll...', 'View', Object(XF\Mvc\RouteMatch), Object(SV\AlertImprovements\XF\Pub\Controller\Conversation), Object(XF\Mvc\Reply\Reroute))
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\AlertImprovements\XF\Pub\Controller\Conversation), Object(XF\Mvc\Reply\Reroute))
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#7 src/XF.php(524): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}
Request state
array(4) {
["url"] => string(35) "/forum/conversations/salut.2226654/"
["referrer"] => string(55) "https://laleagane.ro/forum/conversations/salut.2226654/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.