Created
March 1, 2017 08:43
-
-
Save kamaulynder/6afed87502443521e53c1e9de3923220 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"message":"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'phone-0723674180' for key 'contacts_type_contact_unique' (SQL: insert into `contacts` (`type`, `preferred`, `contact`, `user_id`, `unsubscribe_token`, `subscribed`, `updated_at`, `created_at`) values (phone, 1, 0723674180, 67, $2y$10$Z10CejFnqlV3w2db\/ijOdu3TocX72089yDhGtcI8YcLBZwUwkimGK, 1, 2017-03-01 08:39:23, 2017-03-01 08:39:23))","code":"23000","status_code":500,"debug":{"line":770,"file":"\/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php","class":"Illuminate\\Database\\QueryException","trace":["#0 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(726): Illuminate\\Database\\Connection->runQueryCallback('insert into `co...', Array, Object(Closure))","#1 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(481): Illuminate\\Database\\Connection->run('insert into `co...', Array, Object(Closure))","#2 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(435): Illuminate\\Database\\Connection->statement('insert into `co...', Array)","#3 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Query\/Processors\/Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `co...', Array)","#4 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Query\/Builder.php(2154): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `co...', Array, 'id')","#5 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Eloquent\/Builder.php(1470): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id')","#6 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Eloquent\/Model.php(1609): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array)","#7 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Eloquent\/Model.php(1609): Illuminate\\Database\\Eloquent\\Builder->insertGetId(Array, 'id')","#8 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Eloquent\/Model.php(1574): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array)","#9 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Eloquent\/Model.php(1471): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder))","#10 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Eloquent\/Model.php(561): Illuminate\\Database\\Eloquent\\Model->save()","#11 \/var\/www\/rollcall\/app\/Repositories\/EloquentContactRepository.php(30): Illuminate\\Database\\Eloquent\\Model::create(Array)","#12 \/var\/www\/rollcall\/app\/Repositories\/EloquentPersonRepository.php(222): RollCall\\Repositories\\EloquentContactRepository->create(Array)","#13 \/var\/www\/rollcall\/app\/Http\/Controllers\/Api\/First\/PersonContactController.php(51): RollCall\\Repositories\\EloquentPersonRepository->addContact('1', '67', Array)","#14 [internal function]: RollCall\\Http\\Controllers\\Api\\First\\PersonContactController->store(Object(RollCall\\Http\\Requests\\Person\\Contact\\AddContactRequest), '1', '67')","#15 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php(55): call_user_func_array(Array, Array)","#16 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php(44): Illuminate\\Routing\\Controller->callAction('store', Array)","#17 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php(190): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(RollCall\\Http\\Controllers\\Api\\First\\PersonContactController), 'store')","#18 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php(144): Illuminate\\Routing\\Route->runController()","#19 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(653): Illuminate\\Routing\\Route->run(Object(Dingo\\Api\\Http\\Request))","#20 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Pipeline.php(53): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Dingo\\Api\\Http\\Request))","#21 \/var\/www\/rollcall\/vendor\/dingo\/api\/src\/Http\/Middleware\/Auth.php(55): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Dingo\\Api\\Http\\Request))","#22 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(137): Dingo\\Api\\Http\\Middleware\\Auth->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#23 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Pipeline.php(33): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#24 \/var\/www\/rollcall\/vendor\/dingo\/api\/src\/Http\/Middleware\/PrepareController.php(45): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Dingo\\Api\\Http\\Request))","#25 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(137): Dingo\\Api\\Http\\Middleware\\PrepareController->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#26 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Pipeline.php(33): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#27 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(104): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Dingo\\Api\\Http\\Request))","#28 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(655): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))","#29 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(629): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Dingo\\Api\\Http\\Request))","#30 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(607): Illuminate\\Routing\\Router->dispatchToRoute(Object(Dingo\\Api\\Http\\Request))","#31 \/var\/www\/rollcall\/vendor\/dingo\/api\/src\/Routing\/Adapter\/Laravel.php(81): Illuminate\\Routing\\Router->dispatch(Object(Dingo\\Api\\Http\\Request))","#32 \/var\/www\/rollcall\/vendor\/dingo\/api\/src\/Routing\/Router.php(513): Dingo\\Api\\Routing\\Adapter\\Laravel->dispatch(Object(Dingo\\Api\\Http\\Request), 'v1')","#33 \/var\/www\/rollcall\/vendor\/dingo\/api\/src\/Http\/Middleware\/Request.php(126): Dingo\\Api\\Routing\\Router->dispatch(Object(Dingo\\Api\\Http\\Request))","#34 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(151): Dingo\\Api\\Http\\Middleware\\Request->Dingo\\Api\\Http\\Middleware\\{closure}(Object(Dingo\\Api\\Http\\Request))","#35 \/var\/www\/rollcall\/vendor\/barryvdh\/laravel-cors\/src\/HandleCors.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#36 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(137): Barryvdh\\Cors\\HandleCors->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#37 \/var\/www\/rollcall\/vendor\/lucadegasperi\/oauth2-server-laravel\/src\/Middleware\/OAuthExceptionHandlerMiddleware.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#38 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(137): LucaDegasperi\\OAuth2Server\\Middleware\\OAuthExceptionHandlerMiddleware->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#39 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Middleware\/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#40 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(137): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#41 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php(64): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#42 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(137): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#43 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Cookie\/Middleware\/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#44 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(137): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#45 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Cookie\/Middleware\/EncryptCookies.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#46 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(137): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#47 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Middleware\/CheckForMaintenanceMode.php(46): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#48 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(137): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#49 \/var\/www\/rollcall\/vendor\/itsgoingd\/clockwork\/Clockwork\/Support\/Laravel\/ClockworkMiddleware.php(41): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#50 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(137): Clockwork\\Support\\Laravel\\ClockworkMiddleware->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#51 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(104): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#52 \/var\/www\/rollcall\/vendor\/dingo\/api\/src\/Http\/Middleware\/Request.php(127): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))","#53 \/var\/www\/rollcall\/vendor\/dingo\/api\/src\/Http\/Middleware\/Request.php(103): Dingo\\Api\\Http\\Middleware\\Request->sendRequestThroughRouter(Object(Dingo\\Api\\Http\\Request))","#54 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(137): Dingo\\Api\\Http\\Middleware\\Request->handle(Object(Illuminate\\Http\\Request), Object(Closure))","#55 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Pipeline.php(33): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))","#56 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(104): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","#57 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Kernel.php(150): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))","#58 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Kernel.php(117): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))","#59 \/var\/www\/rollcall\/public\/index.php(54): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))","#60 \/var\/www\/rollcall\/server.php(21): require_once('\/var\/www\/rollca...')","#61 {main}"]}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment