After upgrading Eramba to version 3.30.0, we’ve received the below email in our inbox. Upon investigating further I found that this job (Diagnostics.Statistics) has been failing for a long time already.
Public URL: REDACTED
Hello,
A background job in eramba has failed and was not re-queued automatically. This may require your attention.
Job details:
Job ID: 250534
Task: Diagnostics.Statistics
Reference: N/A
Attempts: 1
Fetched At: 2026-06-02 00:42:23
Failure Message:
Error: Class "NotificationSystem\Model\Table\NotificationSystemItemsTable" not found
#0 /var/www/eramba/app/upgrade/plugins/Diagnostics/src/Lib/Statistics.php(49): Diagnostics\Lib\Statistics->getEnabledCustomNotifications()
#1 /var/www/eramba/app/upgrade/plugins/Diagnostics/src/Queue/Task/StatisticsTask.php(39): Diagnostics\Lib\Statistics->send()
#2 /var/www/eramba/app/upgrade/vendor/dereuromark/cakephp-queue/src/Queue/Processor.php(214): Diagnostics\Queue\Task\StatisticsTask->run(Array, 250534)
#3 /var/www/eramba/app/upgrade/vendor/dereuromark/cakephp-queue/src/Queue/Processor.php(161): Queue\Queue\Processor->runJob(Object(App\Model\Entity\QueuedJob), '14132')
#4 /var/www/eramba/app/upgrade/vendor/dereuromark/cakephp-queue/src/Command/RunCommand.php(112): Queue\Queue\Processor->run(Array)
#5 /var/www/eramba/app/upgrade/vendor/cakephp/cakephp/src/Console/BaseCommand.php(202): Queue\Command\RunCommand->execute(Object(Cake\Console\Arguments), Object(Queue\Console\Io))
#6 /var/www/eramba/app/upgrade/vendor/cakephp/cakephp/src/Console/CommandRunner.php(330): Cake\Console\BaseCommand->run(Array, Object(Cake\Console\ConsoleIo))
#7 /var/www/eramba/app/upgrade/vendor/cakephp/cakephp/src/Console/CommandRunner.php(168): Cake\Console\CommandRunner->runCommand(Object(Queue\Command\RunCommand), Array, Object(Cake\Console\ConsoleIo))
#8 /var/www/eramba/app/upgrade/bin/cake.php(13): Cake\Console\CommandRunner->run(Array)
#9 {main}
Please review the job and your system configuration to determine the cause. If necessary, you may need to retry the job manually or investigate related logs.
Regards
From a brief inspection of the code I think that there is actually no implementation of a class NotificationSystemsItemsTable. I’ve tried downloading and inspecting various eramba docker image versions, but could never find this class.
What can be done to solve this issue?
Is it at least possible to disable the Diagnostics.Statisticstask?
Thanks,
R.