TypeError: Cannot assign App\Models\AccountStatusEnum to property App\Observers\AccountObserver::$statusCurrent of type int in /var/www/html/laravel/app/Observers/AccountObserver.php:20
Stack trace:
#0 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(478): App\Observers\AccountObserver->updated()
#1 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(286): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
#2 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(266): Illuminate\Events\Dispatcher->invokeListeners()
#3 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasEvents.php(215): Illuminate\Events\Dispatcher->dispatch()
#4 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1242): Illuminate\Database\Eloquent\Model->fireModelEvent()
#5 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1155): Illuminate\Database\Eloquent\Model->performUpdate()
#6 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1013): Illuminate\Database\Eloquent\Model->save()
#7 /var/www/html/laravel/app/Jobs/CheckingAccountsForExpiration.php(42): Illuminate\Database\Eloquent\Model->update()
#8 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(87): App\Jobs\CheckingAccountsForExpiration->App\Jobs\{closure}()
#9 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(257): Illuminate\Database\Eloquent\Builder->Illuminate\Database\Concerns\{closure}()
#10 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(86): Illuminate\Support\Collection->each()
#11 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(60): Illuminate\Database\Eloquent\Builder->Illuminate\Database\Concerns\{closure}()
#12 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(85): Illuminate\Database\Eloquent\Builder->chunk()
#13 /var/www/html/laravel/app/Jobs/CheckingAccountsForExpiration.php(40): Illuminate\Database\Eloquent\Builder->chunkMap()
#14 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Jobs\CheckingAccountsForExpiration->handle()
#15 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#16 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(95): Illuminate\Container\Util::unwrapIfClosure()
#17 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
#18 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Container/Container.php(690): Illuminate\Container\BoundMethod::call()
#19 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(128): Illuminate\Container\Container->call()
#20 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#21 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#22 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#23 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(124): Illuminate\Bus\Dispatcher->dispatchNow()
#24 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}()
#25 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#26 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(123): Illuminate\Pipeline\Pipeline->then()
#27 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(71): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware()
#28 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\Queue\CallQueuedHandler->call()
#29 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(440): Illuminate\Queue\Jobs\Job->fire()
#30 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(390): Illuminate\Queue\Worker->process()
#31 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(177): Illuminate\Queue\Worker->runJob()
#32 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(148): Illuminate\Queue\Worker->daemon()
#33 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(131): Illuminate\Queue\Console\WorkCommand->runWorker()
#34 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Queue\Console\WorkCommand->handle()
#35 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#36 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(95): Illuminate\Container\Util::unwrapIfClosure()
#37 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
#38 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Container/Container.php(690): Illuminate\Container\BoundMethod::call()
#39 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Console/Command.php(213): Illuminate\Container\Container->call()
#40 /var/www/html/laravel/vendor/symfony/console/Command/Command.php(279): Illuminate\Console\Command->execute()
#41 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Console/Command.php(182): Symfony\Component\Console\Command\Command->run()
#42 /var/www/html/laravel/vendor/symfony/console/Application.php(1047): Illuminate\Console\Command->run()
#43 /var/www/html/laravel/vendor/symfony/console/Application.php(316): Symfony\Component\Console\Application->doRunCommand()
#44 /var/www/html/laravel/vendor/symfony/console/Application.php(167): Symfony\Component\Console\Application->doRun()
#45 /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\Component\Console\Application->run()
#46 /var/www/html/laravel/artisan(35): Illuminate\Foundation\Console\Kernel->handle()
#47 {main}