You have an out-of-date customized template, or the installed copy of the add-on is very old.Getting thousands of these on PHP 8.0+
Rebuilt master data, it does not work. Looks like is is calling 'svAlertsImprov_macros' instead of 'svAlertImprov_macros'
View attachment 291986
- Add explain text to the "Use custom" value for "Alerting Preferences" per-user option
- Add "[Alert Improvements] Can customize advanced alert preferences" permission to control is a user can change the following per-user preferences: "Alerts page options"/"Alert pop-up options"/"Alerts summarize threshold"
Permission granted to Registered user group by default
Thanks for the updates! This is one of my main plugins!Xon updated Alert Improvements by Xon with a new update entry:
2.10.11 - Minor feature update
Read the rest of this update entry...
Is that a recurring issue after the upgrade finished or did just happen during the upgrade?
After finishing the upgrade. I am getting this now randomly but not too much.Is that a recurring issue after the upgrade finished or did just happen during the upgrade?
#0 [internal function]: XF\Template\Templater->handleTemplateError(2, '[E_WARNING] chm...', '/var/www/fastus...', 368)
#1 src/vendor/league/flysystem/src/Adapter/Local.php(368): chmod('/var/www/fastus...', 420)
#2 src/XF/LocalFsAdapter.php(73): League\Flysystem\Adapter\Local->setVisibility('templates/l0/s4...', 'public')
#3 src/vendor/league/flysystem/src/Adapter/Local.php(210): XF\LocalFsAdapter->setVisibility('templates/l0/s4...', 'public')
#4 src/vendor/league/flysystem/src/Filesystem.php(99): League\Flysystem\Adapter\Local->update('templates/l0/s4...', '<?php
// FROM H...', Object(League\Flysystem\Config))
#5 [internal function]: League\Flysystem\Filesystem->put('templates/l0/s4...', '<?php
// FROM H...', Object(League\Flysystem\Config))
#6 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(431): call_user_func_array('League\\Flysyste...', Array)
#7 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(395): League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod('put', Array)
#8 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(57): League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall('put', Array)
#9 src/vendor/league/flysystem/src/MountManager.php(597): League\Flysystem\EventableFilesystem\EventableFilesystem->put('templates/l0/s4...', '<?php
// FROM H...', Array)
#10 src/XF/Util/File.php(225): League\Flysystem\MountManager->put('templates/l0/s4...', '<?php
// FROM H...', Array)
#11 src/XF/Service/Template/Compile.php(146): XF\Util\File::writeToAbstractedPath('code-cache://te...', '<?php
// FROM H...')
#12 src/XF/Service/Template/Compile.php(43): XF\Service\Template\Compile->writeCompiled(Object(XF\Entity\Template), 'code-cache://te...', 'return array(
'...')
#13 src/XF/Entity/Template.php(435): XF\Service\Template\Compile->recompile(Object(XF\Entity\Template))
#14 src/XF/Mvc/Entity/Entity.php(1277): XF\Entity\Template->_postSave()
#15 src/XF/DevelopmentOutput/Template.php(103): XF\Mvc\Entity\Entity->save()
#16 src/XF/DevelopmentOutput/Template.php(207): XF\DevelopmentOutput\Template->import('public:svAlertI...', 'SV/AlertImprove...', '<div>
<xf:forea...', Array, Array)
#17 src/XF/Template/Templater.php(684): XF\DevelopmentOutput\Template->watchTemplate(Object(SV\WarningImprovements\XF\Template\Templater), 'public', 'svAlertImprov_a...')
#18 src/XF/Template/Templater.php(1621): XF\Template\Templater->getTemplateData('public', 'svAlertImprov_a...')
#19 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('svAlertImprov_a...', Array)
#20 src/XF/Mvc/Renderer/Json.php(86): XF\Template\Template->render()
#21 src/XF/Mvc/Renderer/Json.php(70): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Account\\Aler...', 'public:svAlertI...', Array)
#22 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Json->renderView('XF:Account\\Aler...', 'public:svAlertI...', Array)
#23 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#24 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#25 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#26 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#27 src/XF.php(524): XF\App->run()
#28 index.php(20): XF::runApp('XF\\Pub\\App')
#29 {main}
This isn't related to any of my add-ons, but XenForo can't write to theI am not sure what is going on, but we are getting random errors while marking alerts as read.
And now getting this -
View attachment 292094
Code:#0 [internal function]: XF\Template\Templater->handleTemplateError(2, '[E_WARNING] chm...', '/var/www/fastus...', 368) #1 src/vendor/league/flysystem/src/Adapter/Local.php(368): chmod('/var/www/fastus...', 420) #2 src/XF/LocalFsAdapter.php(73): League\Flysystem\Adapter\Local->setVisibility('templates/l0/s4...', 'public') #3 src/vendor/league/flysystem/src/Adapter/Local.php(210): XF\LocalFsAdapter->setVisibility('templates/l0/s4...', 'public') #4 src/vendor/league/flysystem/src/Filesystem.php(99): League\Flysystem\Adapter\Local->update('templates/l0/s4...', '<?php // FROM H...', Object(League\Flysystem\Config)) #5 [internal function]: League\Flysystem\Filesystem->put('templates/l0/s4...', '<?php // FROM H...', Object(League\Flysystem\Config)) #6 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(431): call_user_func_array('League\\Flysyste...', Array) #7 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(395): League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod('put', Array) #8 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(57): League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall('put', Array) #9 src/vendor/league/flysystem/src/MountManager.php(597): League\Flysystem\EventableFilesystem\EventableFilesystem->put('templates/l0/s4...', '<?php // FROM H...', Array) #10 src/XF/Util/File.php(225): League\Flysystem\MountManager->put('templates/l0/s4...', '<?php // FROM H...', Array) #11 src/XF/Service/Template/Compile.php(146): XF\Util\File::writeToAbstractedPath('code-cache://te...', '<?php // FROM H...') #12 src/XF/Service/Template/Compile.php(43): XF\Service\Template\Compile->writeCompiled(Object(XF\Entity\Template), 'code-cache://te...', 'return array( '...') #13 src/XF/Entity/Template.php(435): XF\Service\Template\Compile->recompile(Object(XF\Entity\Template)) #14 src/XF/Mvc/Entity/Entity.php(1277): XF\Entity\Template->_postSave() #15 src/XF/DevelopmentOutput/Template.php(103): XF\Mvc\Entity\Entity->save() #16 src/XF/DevelopmentOutput/Template.php(207): XF\DevelopmentOutput\Template->import('public:svAlertI...', 'SV/AlertImprove...', '<div> <xf:forea...', Array, Array) #17 src/XF/Template/Templater.php(684): XF\DevelopmentOutput\Template->watchTemplate(Object(SV\WarningImprovements\XF\Template\Templater), 'public', 'svAlertImprov_a...') #18 src/XF/Template/Templater.php(1621): XF\Template\Templater->getTemplateData('public', 'svAlertImprov_a...') #19 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('svAlertImprov_a...', Array) #20 src/XF/Mvc/Renderer/Json.php(86): XF\Template\Template->render() #21 src/XF/Mvc/Renderer/Json.php(70): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Account\\Aler...', 'public:svAlertI...', Array) #22 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Json->renderView('XF:Account\\Aler...', 'public:svAlertI...', Array) #23 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View)) #24 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View)) #25 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json') #26 src/XF/App.php(2487): XF\Mvc\Dispatcher->run() #27 src/XF.php(524): XF\App->run() #28 index.php(20): XF::runApp('XF\\Pub\\App') #29 {main}
internal_data/code_cache/
folder.I have double-checked, nothing customization there. We get this error while going to the user preference page.Please ensure the templatesvAlertImprov_macros
doesn't have customizations which remove thealerting_preferences
macro. You may need to check multiple styles depending on how your theming is setup.
_output
directory in any add-on? This is known footgun, especially when mixed with the Web installer, and is known to basically break add-ons like this.src/config.php
:$config['development']['enabled'] = true;
rm -rf src/addons/SV/AlertImprovements/_output
php cmd.php xf-addon:rebuild SV/AlertImprovements
I enabled both of these but only the "Recent alert icon" works. The "Unread alert icon" doesn't do anything.Some of these are controlled from the "Alert Improvements" style property options. Make sure the "Show recent alert icon on alert" and "Show read alert icon on alert" style property options are set, and the rest are defaults.
Otherwise it is like the "Alert summarization" feature is handling multiple replies to a given post now, there is currently no options to enable/disable this support.
fa fa-star
instead of fa fa-star-exclamation
but that had no impact. I also disabled Recent alert icon
and left Unread alert icon
enabled, and it still doesn't show.There isn't really any point of using that add-on with this one. It introduces a vastly simplified alert preferences by default and a permission to disable the other alerting option this add-on ads.I cant use your addon and the one from AndyB at the same time.
You may check this out together with him, please?
![]()
Remove notification options [Paid]
AndyB submitted a new resource: Remove notification options - Removes notification options in account preferences. Premium upgrade: This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like...xenforo.com
We use essential cookies to make this site work, and optional cookies to enhance your experience.