bavix / laravel-wallet

It's easy to work with a virtual wallet
https://bavix.github.io/laravel-wallet/
MIT License
1.15k stars 230 forks source link

When im calling deposit function on a User it's stop my application #308

Closed salarzaidi closed 3 years ago

salarzaidi commented 3 years ago

im just runing documentation testing code nothing else. image

User Model image

here is my composer file. ```js { "name": "laravel/laravel", "type": "project", "description": "The Laravel Framework.", "keywords": [ "framework", "laravel" ], "license": "MIT", "require": { "php": "^7.2.5|^8.0", "bavix/laravel-wallet": "^6.0", "fideloper/proxy": "^4.4", "laravel/framework": "^6.20", "laravel/tinker": "^2.5", "laravel/ui": "^1", "spatie/laravel-permission": "^4.0", "tymon/jwt-auth": "^1.0" }, "require-dev": { "facade/ignition": "^1.16.4", "fakerphp/faker": "^1.9.1", "mockery/mockery": "^1.0", "nunomaduro/collision": "^3.0", "phpunit/phpunit": "^8.5.8|^9.3.3" }, "config": { "optimize-autoloader": true, "preferred-install": "dist", "sort-packages": true }, "extra": { "laravel": { "dont-discover": [] } }, "autoload": { "psr-4": { "App\\": "app/" }, "classmap": [ "database/seeds", "database/factories" ], "files": ["app/Helpers/Helper.php"] }, "autoload-dev": { "psr-4": { "Tests\\": "tests/" } }, "minimum-stability": "dev", "prefer-stable": true, "scripts": { "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", "@php artisan package:discover --ansi" ], "post-root-package-install": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "@php artisan key:generate --ansi" ] } } ```

please help me as soon as possible . thanks

rez1dent3 commented 3 years ago

Hello, @salarzaidi. Not enough information. We need logs.

salarzaidi commented 3 years ago
here is my laravel.log file data ``` [2021-03-09 03:29:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:29:01am [2021-03-09 03:30:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:30:01am [2021-03-09 03:31:00] local.INFO: Jackpot Cron is working fine!09/03/2021 03:31:00am [2021-03-09 03:32:00] local.INFO: Jackpot Cron is working fine!09/03/2021 03:32:00am [2021-03-09 03:33:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:33:01am [2021-03-09 03:34:00] local.INFO: Jackpot Cron is working fine!09/03/2021 03:34:00am [2021-03-09 03:35:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:35:01am [2021-03-09 03:36:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:36:01am [2021-03-09 03:37:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:37:01am [2021-03-09 03:38:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:38:01am [2021-03-09 03:39:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:39:01am [2021-03-09 03:40:00] local.INFO: Jackpot Cron is working fine!09/03/2021 03:40:00am [2021-03-09 03:41:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:41:01am [2021-03-09 03:42:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:42:01am [2021-03-09 03:43:00] local.INFO: Jackpot Cron is working fine!09/03/2021 03:43:00am [2021-03-09 03:44:00] local.INFO: Jackpot Cron is working fine!09/03/2021 03:44:00am [2021-03-09 03:45:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:45:01am [2021-03-09 03:46:00] local.INFO: Jackpot Cron is working fine!09/03/2021 03:46:00am [2021-03-09 03:47:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:47:01am [2021-03-09 03:47:53] local.ERROR: Argument 2 passed to App\Model\User::deposit() must be of the type array or null, string given, called in /Volumes/DATA/local_project/lottery/project/app/Http/Controllers/JackpotController.php on line 85 {"userId":1,"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Argument 2 passed to App\\Model\\User::deposit() must be of the type array or null, string given, called in /Volumes/DATA/local_project/lottery/project/app/Http/Controllers/JackpotController.php on line 85 at /Volumes/DATA/local_project/lottery/project/vendor/bavix/laravel-wallet/src/Traits/HasWallet.php:41) [stacktrace] #0 /Volumes/DATA/local_project/lottery/project/app/Http/Controllers/JackpotController.php(85): App\\Model\\User->deposit(10, 'test') #1 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\JackpotController->show('200') #2 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('show', Array) #3 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Route.php(219): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\JackpotController), 'show') #4 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Route.php(176): Illuminate\\Routing\\Route->runController() #5 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(681): Illuminate\\Routing\\Route->run() #6 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #7 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #8 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #9 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(43): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #10 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #11 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #13 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(56): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(683): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #23 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(658): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #24 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(624): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #25 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(613): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #26 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(170): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #27 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #28 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 /Volumes/DATA/local_project/lottery/project/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #39 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #40 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #41 /Volumes/DATA/local_project/lottery/project/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #42 /Volumes/DATA/local_project/lottery/project/server.php(21): require_once('/Volumes/DATA/l...') #43 {main} "} [2021-03-09 03:48:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:48:01am [2021-03-09 03:49:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:49:01am [2021-03-09 03:49:35] local.ERROR: Argument 2 passed to App\Model\User::deposit() must be of the type array or null, string given, called in /Volumes/DATA/local_project/lottery/project/app/Http/Controllers/JackpotController.php on line 85 {"userId":1,"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Argument 2 passed to App\\Model\\User::deposit() must be of the type array or null, string given, called in /Volumes/DATA/local_project/lottery/project/app/Http/Controllers/JackpotController.php on line 85 at /Volumes/DATA/local_project/lottery/project/vendor/bavix/laravel-wallet/src/Traits/HasWallet.php:41) [stacktrace] #0 /Volumes/DATA/local_project/lottery/project/app/Http/Controllers/JackpotController.php(85): App\\Model\\User->deposit(10, 'test') #1 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\JackpotController->show('200') #2 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('show', Array) #3 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Route.php(219): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\JackpotController), 'show') #4 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Route.php(176): Illuminate\\Routing\\Route->runController() #5 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(681): Illuminate\\Routing\\Route->run() #6 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #7 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #8 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #9 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(43): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #10 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #11 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #13 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(56): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(683): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #23 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(658): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #24 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(624): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #25 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(613): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #26 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(170): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #27 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #28 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 /Volumes/DATA/local_project/lottery/project/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #39 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #40 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #41 /Volumes/DATA/local_project/lottery/project/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #42 /Volumes/DATA/local_project/lottery/project/server.php(21): require_once('/Volumes/DATA/l...') #43 {main} "} [2021-03-09 03:50:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:50:01am [2021-03-09 03:51:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:51:01am [2021-03-09 03:52:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:52:01am [2021-03-09 03:53:00] local.INFO: Jackpot Cron is working fine!09/03/2021 03:53:00am [2021-03-09 03:54:00] local.INFO: Jackpot Cron is working fine!09/03/2021 03:54:00am [2021-03-09 03:54:09] local.ERROR: This cache store does not support tagging. {"userId":1,"exception":"[object] (BadMethodCallException(code: 0): This cache store does not support tagging. at /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cache/Repository.php:481) [stacktrace] #0 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(378): Illuminate\\Cache\\Repository->tags(Array) #1 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Illuminate\\Cache\\CacheManager->__call('tags', Array) #2 /Volumes/DATA/local_project/lottery/project/vendor/bavix/laravel-wallet-vacuum/src/Store.php(106): Illuminate\\Support\\Facades\\Facade::__callStatic('tags', Array) #3 /Volumes/DATA/local_project/lottery/project/vendor/bavix/laravel-wallet-vacuum/src/Store.php(44): Bavix\\WalletVacuum\\Store->taggedCache() #4 /Volumes/DATA/local_project/lottery/project/vendor/bavix/laravel-wallet/src/Services/WalletService.php(137): Bavix\\WalletVacuum\\Store->getBalance(Object(Bavix\\Wallet\\Models\\Wallet)) #5 /Volumes/DATA/local_project/lottery/project/vendor/bavix/laravel-wallet/src/Objects/EmptyLock.php(27): Bavix\\Wallet\\Services\\WalletService::Bavix\\Wallet\\Services\\{closure}() #6 /Volumes/DATA/local_project/lottery/project/vendor/bavix/laravel-wallet/src/Services/LockService.php(37): Bavix\\Wallet\\Objects\\EmptyLock->get(Object(Closure)) #7 /Volumes/DATA/local_project/lottery/project/vendor/bavix/laravel-wallet/src/Services/WalletService.php(144): Bavix\\Wallet\\Services\\LockService->lock(Object(Bavix\\Wallet\\Services\\WalletService), 'refresh', Object(Closure)) #8 /Volumes/DATA/local_project/lottery/project/vendor/bavix/laravel-wallet/src/Models/Wallet.php(112): Bavix\\Wallet\\Services\\WalletService->refresh(Object(Bavix\\Wallet\\Models\\Wallet)) #9 /Volumes/DATA/local_project/lottery/project/app/Http/Controllers/JackpotController.php(83): Bavix\\Wallet\\Models\\Wallet->refreshBalance() #10 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\JackpotController->show('191') #11 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('show', Array) #12 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Route.php(219): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\JackpotController), 'show') #13 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Route.php(176): Illuminate\\Routing\\Route->runController() #14 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(681): Illuminate\\Routing\\Route->run() #15 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(43): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(56): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(683): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #32 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(658): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #33 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(624): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #34 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(613): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #35 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(170): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #36 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #37 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Volumes/DATA/local_project/lottery/project/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #49 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #50 /Volumes/DATA/local_project/lottery/project/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #51 /Volumes/DATA/local_project/lottery/project/server.php(21): require_once('/Volumes/DATA/l...') #52 {main} "} [2021-03-09 03:55:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:55:01am [2021-03-09 03:55:24] local.ERROR: This cache store does not support tagging. {"userId":1,"exception":"[object] (BadMethodCallException(code: 0): This cache store does not support tagging. at /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cache/Repository.php:481) [stacktrace] #0 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(378): Illuminate\\Cache\\Repository->tags(Array) #1 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Illuminate\\Cache\\CacheManager->__call('tags', Array) #2 /Volumes/DATA/local_project/lottery/project/vendor/bavix/laravel-wallet-vacuum/src/Store.php(106): Illuminate\\Support\\Facades\\Facade::__callStatic('tags', Array) #3 /Volumes/DATA/local_project/lottery/project/vendor/bavix/laravel-wallet-vacuum/src/Store.php(44): Bavix\\WalletVacuum\\Store->taggedCache() #4 /Volumes/DATA/local_project/lottery/project/vendor/bavix/laravel-wallet/src/Traits/HasWallet.php(77): Bavix\\WalletVacuum\\Store->getBalance(Object(App\\Model\\User)) #5 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(454): App\\Model\\User->getBalanceAttribute(NULL) #6 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(350): Illuminate\\Database\\Eloquent\\Model->mutateAttribute('balance', NULL) #7 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(323): Illuminate\\Database\\Eloquent\\Model->getAttributeValue('balance') #8 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1527): Illuminate\\Database\\Eloquent\\Model->getAttribute('balance') #9 /Volumes/DATA/local_project/lottery/project/app/Http/Controllers/JackpotController.php(84): Illuminate\\Database\\Eloquent\\Model->__get('balance') #10 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\JackpotController->show('191') #11 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('show', Array) #12 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Route.php(219): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\JackpotController), 'show') #13 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Route.php(176): Illuminate\\Routing\\Route->runController() #14 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(681): Illuminate\\Routing\\Route->run() #15 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(43): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(56): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(683): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #32 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(658): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #33 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(624): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #34 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(613): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #35 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(170): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #36 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #37 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Volumes/DATA/local_project/lottery/project/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #49 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #50 /Volumes/DATA/local_project/lottery/project/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #51 /Volumes/DATA/local_project/lottery/project/server.php(21): require_once('/Volumes/DATA/l...') #52 {main} "} [2021-03-09 03:56:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:56:01am [2021-03-09 03:57:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:57:01am [2021-03-09 03:58:01] local.INFO: Jackpot Cron is working fine!09/03/2021 03:58:01am [2021-03-09 03:59:00] local.INFO: Jackpot Cron is working fine!09/03/2021 03:59:00am [2021-03-09 04:00:01] local.INFO: Jackpot Cron is working fine!09/03/2021 04:00:01am [2021-03-09 04:01:01] local.INFO: Jackpot Cron is working fine!09/03/2021 04:01:01am [2021-03-09 04:02:00] local.INFO: Jackpot Cron is working fine!09/03/2021 04:02:00am [2021-03-09 04:03:00] local.INFO: Jackpot Cron is working fine!09/03/2021 04:03:00am [2021-03-09 04:04:01] local.INFO: Jackpot Cron is working fine!09/03/2021 04:04:01am [2021-03-09 04:05:01] local.INFO: Jackpot Cron is working fine!09/03/2021 04:05:01am [2021-03-09 04:06:00] local.INFO: Jackpot Cron is working fine!09/03/2021 04:06:00am [2021-03-09 04:07:00] local.INFO: Jackpot Cron is working fine!09/03/2021 04:07:00am [2021-03-09 04:07:35] local.ERROR: Trait 'Bavix\Wallet\Traits\HasWallet' not found {"userId":1,"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 1): Trait 'Bavix\\Wallet\\Traits\\HasWallet' not found at /Volumes/DATA/local_project/lottery/project/app/Model/User.php:17) [stacktrace] #0 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(148): Symfony\\Component\\Debug\\Exception\\FatalErrorException->__construct(''Trait \\\\'Bavix\\\\...', '1', '0', ''/Volumes/DATA/...', '17', '0', '???', '???', '???') #1 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(134): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->fatalExceptionFromError('['type' => 1, '...', '0') #2 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(0): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleShutdown() #3 /Volumes/DATA/local_project/lottery/project/vendor/composer/ClassLoader.php(476): () #4 /Volumes/DATA/local_project/lottery/project/vendor/composer/ClassLoader.php(344): Composer\\Autoload\\includeFile(''/Volumes/DATA/...') #5 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Auth/EloquentUserProvider.php(183): Composer\\Autoload\\ClassLoader->loadClass(''App\\\\\\\\Model\\\\\\\\Us...') #6 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Auth/EloquentUserProvider.php(183): spl_autoload_call(''App\\\\\\\\Model\\\\\\\\Us...') #7 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Auth/EloquentUserProvider.php(48): Illuminate\\Auth\\EloquentUserProvider->createModel() #8 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Auth/SessionGuard.php(139): Illuminate\\Auth\\EloquentUserProvider->retrieveById('1') #9 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Auth/GuardHelpers.php(60): Illuminate\\Auth\\SessionGuard->user() #10 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(62): Illuminate\\Auth\\SessionGuard->check() #11 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(41): App\\Http\\Middleware\\Authenticate->authenticate('class Illuminat...', '[]') #12 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): App\\Http\\Middleware\\Authenticate->handle('class Illuminat...', 'class Closure {...') #13 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Routing\\Pipeline->Illuminate\\Pipeline\\{closure:/Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:147-180}('class Illuminat...') #14 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): App\\Http\\Middleware\\VerifyCsrfToken->handle('class Illuminat...', 'class Closure {...') #15 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Routing\\Pipeline->Illuminate\\Pipeline\\{closure:/Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:147-180}('class Illuminat...') #16 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle('class Illuminat...', 'class Closure {...') #17 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(56): Illuminate\\Routing\\Pipeline->Illuminate\\Pipeline\\{closure:/Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:147-180}('class Illuminat...') #18 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Session\\Middleware\\StartSession->handle('class Illuminat...', 'class Closure {...') #19 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Routing\\Pipeline->Illuminate\\Pipeline\\{closure:/Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:147-180}('class Illuminat...') #20 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle('class Illuminat...', 'class Closure {...') #21 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Routing\\Pipeline->Illuminate\\Pipeline\\{closure:/Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:147-180}('class Illuminat...') #22 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): App\\Http\\Middleware\\EncryptCookies->handle('class Illuminat...', 'class Closure {...') #23 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\\Routing\\Pipeline->Illuminate\\Pipeline\\{closure:/Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:147-180}('class Illuminat...') #24 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(683): Illuminate\\Routing\\Pipeline->then('class Closure {...') #25 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(658): Illuminate\\Routing\\Router->runRouteWithinStack('class Illuminat...', 'class Illuminat...') #26 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(624): Illuminate\\Routing\\Router->runRoute('class Illuminat...', 'class Illuminat...') #27 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(613): Illuminate\\Routing\\Router->dispatchToRoute('class Illuminat...') #28 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(170): Illuminate\\Routing\\Router->dispatch('class Illuminat...') #29 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): App\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure:/Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:167-171}('class Illuminat...') #30 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Routing\\Pipeline->Illuminate\\Pipeline\\{closure:/Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128-136}('class Illuminat...') #31 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle('class Illuminat...', 'class Closure {...') #32 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Routing\\Pipeline->Illuminate\\Pipeline\\{closure:/Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:147-180}('class Illuminat...') #33 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): App\\Http\\Middleware\\TrimStrings->handle('class Illuminat...', 'class Closure {...') #34 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Routing\\Pipeline->Illuminate\\Pipeline\\{closure:/Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:147-180}('class Illuminat...') #35 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle('class Illuminat...', 'class Closure {...') #36 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Routing\\Pipeline->Illuminate\\Pipeline\\{closure:/Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:147-180}('class Illuminat...') #37 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): App\\Http\\Middleware\\CheckForMaintenanceMode->handle('class Illuminat...', 'class Closure {...') #38 /Volumes/DATA/local_project/lottery/project/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Routing\\Pipeline->Illuminate\\Pipeline\\{closure:/Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:147-180}('class Illuminat...') #39 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): App\\Http\\Middleware\\TrustProxies->handle('class Illuminat...', 'class Closure {...') #40 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\\Routing\\Pipeline->Illuminate\\Pipeline\\{closure:/Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:147-180}('class Illuminat...') #41 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Routing\\Pipeline->then('class Closure {...') #42 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): App\\Http\\Kernel->sendRequestThroughRouter('class Illuminat...') #43 /Volumes/DATA/local_project/lottery/project/public/index.php(55): App\\Http\\Kernel->handle('class Illuminat...') #44 /Volumes/DATA/local_project/lottery/project/server.php(21): () #45 /Volumes/DATA/local_project/lottery/project/server.php(0): {main}() #46 {main} "} [2021-03-09 04:08:01] local.INFO: Jackpot Cron is working fine!09/03/2021 04:08:01am [2021-03-09 04:08:04] local.ERROR: Call to undefined method App\Model\User::deposit() {"userId":1,"exception":"[object] (BadMethodCallException(code: 0): Call to undefined method App\\Model\\User::deposit() at /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:50) [stacktrace] #0 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(36): Illuminate\\Database\\Eloquent\\Model::throwBadMethodCallException('deposit') #1 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1622): Illuminate\\Database\\Eloquent\\Model->forwardCallTo(Object(Illuminate\\Database\\Eloquent\\Builder), 'deposit', Array) #2 /Volumes/DATA/local_project/lottery/project/app/Http/Controllers/JackpotController.php(85): Illuminate\\Database\\Eloquent\\Model->__call('deposit', Array) #3 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\JackpotController->show('200') #4 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('show', Array) #5 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Route.php(219): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\JackpotController), 'show') #6 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Route.php(176): Illuminate\\Routing\\Route->runController() #7 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(681): Illuminate\\Routing\\Route->run() #8 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #9 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #10 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #11 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(43): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #13 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(56): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(683): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #25 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(658): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #26 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(624): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #27 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php(613): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #28 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(170): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #29 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #30 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 /Volumes/DATA/local_project/lottery/project/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #39 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #41 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #42 /Volumes/DATA/local_project/lottery/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #43 /Volumes/DATA/local_project/lottery/project/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #44 /Volumes/DATA/local_project/lottery/project/server.php(21): require_once('/Volumes/DATA/l...') #45 {main} "} [2021-03-09 04:09:01] local.INFO: Jackpot Cron is working fine!09/03/2021 04:09:01am [2021-03-09 04:10:03] local.INFO: Jackpot Cron is working fine!09/03/2021 04:10:03am ```
rez1dent3 commented 3 years ago

@salarzaidi The problem is that you are not working with the package correctly.

Argument 2 passed to App\Model\User::deposit() must be of the type array or null, string given App\Model\User->deposit(10, 'test')

salarzaidi commented 3 years ago

no sorry. its not that issue. please check the first image you can see what im runing.

salarzaidi commented 3 years ago

my application stops when deposit function run. i have checked by commenting despite function and it run fine. im not able to deposit and my log not showing that issue.

rez1dent3 commented 3 years ago

I need data. We need logs and code, it is better to issue it as a separate project for github, then I can help you.

According to the logs that you provided, there is an error in the incorrect use of the package. The second argument must be an ?array and you are passing in a string.

salarzaidi commented 3 years ago

I resolved the problem though don't know what was wrong. I just changed my apache PHP version 7.2 to 7.3 and it's working fine

rez1dent3 commented 3 years ago

@salarzaidi minimum version for newer versions of the package https://github.com/bavix/laravel-wallet/blob/bdb09b31ef60d991f586c37759e2a09466a69f8f/composer.json#L26