I have a simliar case opened that appears to have the same root. “call to member function <function()> on null.” I have no idea what the problem might be? it’s as if it’s a DB query is returning no data.
[05-Nov-2025 09:50:08 America/Chicago] Error: Call to a member function getLocalizedData() on null in /data/www/html/ojs/lib/pkp/jobs/notifications/StatisticsReportMail.php:95
Stack trace:
#0 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): PKP\jobs\notifications\StatisticsReportMail->handle()
#1 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::Illuminate\Container{closure}()
#2 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(95): Illuminate\Container\Util::unwrapIfClosure()
#3 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
#4 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Container/Container.php(696): Illuminate\Container\BoundMethod::call()
#5 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(126): Illuminate\Container\Container->call()
#6 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(170): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}()
#7 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#8 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(130): Illuminate\Pipeline\Pipeline->then()
#9 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(126): Illuminate\Bus\Dispatcher->dispatchNow()
#10 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(170): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue{closure}()
#11 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(127): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#12 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(121): Illuminate\Pipeline\Pipeline->then()
#13 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(69): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware()
#14 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\Queue\CallQueuedHandler->call()
#15 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(442): Illuminate\Queue\Jobs\Job->fire()
#16 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(392): Illuminate\Queue\Worker->process()
#17 /data/www/html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(335): Illuminate\Queue\Worker->runJob()
#18 /data/www/html/ojs/lib/pkp/classes/core/PKPQueueProvider.php(101): Illuminate\Queue\Worker->runNextJob()
#19 /data/www/html/ojs/lib/pkp/classes/queue/JobRunner.php(220): PKP\core\PKPQueueProvider->runJobInQueue()
#20 /data/www/html/ojs/lib/pkp/classes/core/PKPQueueProvider.php(139): PKP\queue\JobRunner->processJobs()
#21 [internal function]: PKP\core\PKPQueueProvider->PKP\core{closure}()
#22 {main}