Error in logs

Hi Guys, can you please assist.

2019-09-10 11:51:04 compact(): Undefined variable: operator: #0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, ‘compact(): Unde…’, ‘/home/immosaut/…’, 1229, Array)
#1 /home/immosaut/public_html/billing/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1229): compact(‘type’, ‘operator’, ‘query’, ‘boolean’)
#2 /home/immosaut/public_html/billing/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1254): Illuminate\Database\Query\Builder->addWhereExistsQuery(Object(Illuminate\Database\Query\Builder), ‘and’, false)
#3 /home/immosaut/public_html/billing/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php(242): Illuminate\Database\Eloquent\Builder->__call(‘addWhereExistsQ…’, Array)
#4 /home/immosaut/public_html/billing/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php(52): Illuminate\Database\Eloquent\Builder->addHasWhere(Object(Illuminate\Database\Eloquent\Builder), Object(Illuminate\Database\Eloquent\Relations\HasOne), ‘>=’, 1, ‘and’)
#5 /home/immosaut/public_html/billing/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php(132): Illuminate\Database\Eloquent\Builder->has(Object(Illuminate\Database\Eloquent\Relations\HasOne), ‘>=’, 1, ‘and’, Object(Closure))
#6 /home/immosaut/public_html/billing/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1374): Illuminate\Database\Eloquent\Builder->whereHas(‘account_email_s…’, Object(Closure))
#7 /home/immosaut/public_html/billing/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1386): Illuminate\Database\Eloquent\Model->__call(‘whereHas’, Array)
#8 /home/immosaut/public_html/billing/app/Ninja/Repositories/AccountRepository.php(769): Illuminate\Database\Eloquent\Model::__callStatic(‘whereHas’, Array)
#9 /home/immosaut/public_html/billing/app/Console/Commands/SendReminders.php(127): App\Ninja\Repositories\AccountRepository->findWithFees()
#10 /home/immosaut/public_html/billing/app/Console/Commands/SendReminders.php(82): App\Console\Commands\SendReminders->chargeLateFees()
#11 [internal function]: App\Console\Commands\SendReminders->fire()
#12 /home/immosaut/public_html/billing/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)
#13 /home/immosaut/public_html/billing/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container{closure}()
#14 /home/immosaut/public_html/billing/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#15 /home/immosaut/public_html/billing/vendor/laravel/framework/src/Illuminate/Container/Container.php(539): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#16 /home/immosaut/public_html/billing/vendor/laravel/framework/src/Illuminate/Console/Command.php(182): Illuminate\Container\Container->call(Array)
#17 /home/immosaut/public_html/billing/vendor/symfony/console/Command/Command.php(252): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#18 /home/immosaut/public_html/billing/vendor/laravel/framework/src/Illuminate/Console/Command.php(167): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#19 /home/immosaut/public_html/billing/vendor/symfony/console/Application.php(946): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /home/immosaut/public_html/billing/vendor/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\SendReminders), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /home/immosaut/public_html/billing/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /home/immosaut/public_html/billing/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(122): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /home/immosaut/public_html/billing/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 {main}

PHP 7.3 isn’t yet supported

I see that it has been a common error in the logs.

Got an email got sent out with the invoice number but when I check the invoices I cannot find it.
Last 2 invoices seem to be missing would the error above be into relation to that?

Hi Hillel

The current version is 7.2

https://prnt.sc/p4pumc

Please see above, let me know if I should change anything

Cpanel > Softaculous install

You may want to setup a phpinfo page to confirm the PHP version.

Are you searching using the field in the top right of the page are you filtering the invoice list?

using a hosting provider, with cpanel and a softaculous install of invoice ninja.
We created an invoice for a client which got sent out but the invoice since seems to have disappeared,
Wanted to know if the above error related to that?

Are you searching using the field in the top right of the page are you filtering the invoice list?
Yes.

Have you tried using the invoice link from the client email to view the invoice in the client portal?