- Affected version
- 2.2.13
Getting flooded with these errors after updating to 2.2.13 (even after disabling the addon):
Error: Class 'SV\UserMentionsImprovements\XF\Service\Post\XFCP_Notifier' not found src/addons/SV/UserMentionsImprovements/XF/Service/Post/Notifier.php:8
#0 src/vendor/composer/ClassLoader.php(571): include()
#1 src/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/***/publi...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('SV\\UserMentions...')
#3 [internal function]: spl_autoload_call('SV\\UserMentions...')
#4 src/XF/Job/Notifier.php(22): class_exists('SV\\UserMentions...')
#5 src/XF/Job/Manager.php(260): XF\Job\Notifier->run(8)
#6 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#7 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#8 job.php(43): XF\Job\Manager->runQueue(false, 8)
#9 {main}
Edit: Even getting these after uninstalling the addon. Finally resolved after deleting all files related to the addon.
XF\Job\Notifier
and XF\Service\AbstractNotifier\getJobData
requires that resolveExtendedClassToRoot
reliably resolves to the root.Somehow
resolveExtendedClassToRoot
was returning the calling class when the mapping didn't exist, and instead of hard failing caused the above job to relentlessly spam the logs with error messages.