Unable to send an email: 404 page not found (code 404)
-
Since the last update / server reboot my sent invoices report they are bouncing.
When I open the invoice it says
Unable to send an email: 404 page not found (code 404) -
Ok I found the queue has 30 failed jobs, last error...
Error: Call to a member function filter() on null in /app/code/app/Models/Client.php:430 Stack trace: #0 /app/code/app/Services/Client/ClientService.php(213): App\Models\Client->currency() #1 /app/code/app/Jobs/Ninja/CompanySizeCheck.php(65): App\Services\Client\ClientService->getCreditBalance() #2 /app/code/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(240): App\Jobs\Ninja\CompanySizeCheck->App\Jobs\Ninja\{closure}() #3 /app/code/app/Jobs/Ninja/CompanySizeCheck.php(72): Illuminate\Support\LazyCollection->each() #4 /app/code/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Jobs\Ninja\CompanySizeCheck->handle() #5 /app/code/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #6 /app/code/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure() #7 /app/code/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod() #8 /app/code/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\Container\BoundMethod::call() #9 /app/code/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(128): Illuminate\Container\Container->call() #10 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}() #11 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #12 /app/code/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then() #13 /app/code/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(124): Illuminate\Bus\Dispatcher->dispatchNow() #14 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}() #15 /app/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #16 /app/code/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(126): Illuminate\Pipeline\Pipeline->then() #17 /app/code/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware() #18 /app/code/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\Queue\CallQueuedHandler->call() #19 /app/code/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(439): Illuminate\Queue\Jobs\Job->fire() #20 /app/code/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(389): Illuminate\Queue\Worker->process() #21 /app/code/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(176): Illuminate\Queue\Worker->runJob() #22 /app/code/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(138): Illuminate\Queue\Worker->daemon() #23 /app/code/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(121): Illuminate\Queue\Console\WorkCommand->runWorker() #24 /app/code/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Queue\Console\WorkCommand->handle() #25 /app/code/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #26 /app/code/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure() #27 /app/code/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod() #28 /app/code/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\Container\BoundMethod::call() #29 /app/code/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\Container\Container->call() #30 /app/code/vendor/symfony/console/Command/Command.php(326): Illuminate\Console\Command->execute() #31 /app/code/vendor/laravel/framework/src/Illuminate/Console/Command.php(181): Symfony\Component\Console\Command\Command->run() #32 /app/code/vendor/symfony/console/Application.php(1096): Illuminate\Console\Command->run() #33 /app/code/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand() #34 /app/code/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun() #35 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(201): Symfony\Component\Console\Application->run() #36 /app/code/artisan(37): Illuminate\Foundation\Console\Kernel->handle() #37 {main}
And also (I think the same error)
https://github.com/invoiceninja/invoiceninja/issues/11247 -
J james marked this topic as a regular topic
-
J james moved this topic from Support
-
I see theres been a patch for the app, but the problem still exists and resending the invoice just adds items to the stuck queue
-
-
I see theres been a patch for the app, but the problem still exists and resending the invoice just adds items to the stuck queue
@AartJansen Where do you see the patch? https://github.com/invoiceninja/invoiceninja/issues/11247 is still Open afaict?
-
Sorry, I saw cloudron had a patch for invoice ninja app, and I applied it and mistakenly assumed it was for that issue. I thought it would be fairly high priority, but apparently not.