Error: Call to a member function getQuery() on null in /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:702
Stack trace:
#0 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(662): Illuminate\Database\Eloquent\Builder->getRelation('userDailyChalle...')
#1 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(642): Illuminate\Database\Eloquent\Builder->eagerLoadRelation(Array, 'userDailyChalle...', Object(Closure))
#2 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(610): Illuminate\Database\Eloquent\Builder->eagerLoadRelations(Array)
#3 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Relation.php(195): Illuminate\Database\Eloquent\Builder->get(Array)
#4 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Relation.php(160): Illuminate\Database\Eloquent\Relations\Relation->get()
#5 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(673): Illuminate\Database\Eloquent\Relations\Relation->getEager()
#6 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(642): Illuminate\Database\Eloquent\Builder->eagerLoadRelation(Array, 'receipt', Object(Closure))
#7 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(597): Illuminate\Database\Eloquent\Builder->eagerLoadRelations(Array)
#8 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php(102): Illuminate\Database\Eloquent\Model->load(Array)
#9 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php(57): App\Events\Event->restoreModel(Object(Illuminate\Contracts\Database\ModelIdentifier))
#10 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/app/Traits/JobSerializesNullableModels.php(17): App\Events\Event->getRestoredPropertyValue(Object(Illuminate\Contracts\Database\ModelIdentifier))
#11 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Queue/SerializesModels.php(122): App\Events\Event->getRestoredPropertyValue(Object(Illuminate\Contracts\Database\ModelIdentifier))
#12 [internal function]: App\Events\Event->__unserialize(Array)
#13 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(97): unserialize('O:36:"Illuminat...')
#14 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(60): Illuminate\Queue\CallQueuedHandler->getCommand(Array)
#15 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call(Object(Illuminate\Queue\Jobs\DatabaseJob), Array)
#16 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(428): Illuminate\Queue\Jobs\Job->fire()
#17 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(378): Illuminate\Queue\Worker->process('database', Object(Illuminate\Queue\Jobs\DatabaseJob), Object(Illuminate\Queue\WorkerOptions))
#18 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(172): Illuminate\Queue\Worker->runJob(Object(Illuminate\Queue\Jobs\DatabaseJob), 'database', Object(Illuminate\Queue\WorkerOptions))
#19 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(117): Illuminate\Queue\Worker->daemon('database', 'default', Object(Illuminate\Queue\WorkerOptions))
#20 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(101): Illuminate\Queue\Console\WorkCommand->runWorker('database', 'default')
#21 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Queue\Console\WorkCommand->handle()
#22 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#23 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#24 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod(Object(Bootstrap\DomainBasedApplication), Array, Object(Closure))
#25 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\Container\BoundMethod::call(Object(Bootstrap\DomainBasedApplication), Array, Array, NULL)
#26 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Console/Command.php(136): Illuminate\Container\Container->call(Array)
#27 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/symfony/console/Command/Command.php(298): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#28 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#29 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/symfony/console/Application.php(1040): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#30 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand(Object(Illuminate\Queue\Console\WorkCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#31 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#32 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Console/Application.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#33 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#34 /home/growthdeskuser/public_html/wa-username-testing/enterprise-solutions/artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#35 {main}