Whoops, looks like something went wrong.

(2/2) QueryException

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'firstname' cannot be null (SQL: insert into `complaints` (`firstname`, `lastname`, `email`, `contactnumber`, `state`, `address`, `suburb`, `category`, `dateofinstall`, `complaintmessage`, `status`, `updated_at`, `created_at`) values (, , , , , , , , , , New, 2019-11-20 11:21:16, 2019-11-20 11:21:16))

in Connection.php line 647
at Connection->runQueryCallback('insert into `complaints` (`firstname`, `lastname`, `email`, `contactnumber`, `state`, `address`, `suburb`, `category`, `dateofinstall`, `complaintmessage`, `status`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(null, null, null, null, null, null, null, null, null, null, 'New', '2019-11-20 11:21:16', '2019-11-20 11:21:16'), object(Closure))in Connection.php line 607
at Connection->run('insert into `complaints` (`firstname`, `lastname`, `email`, `contactnumber`, `state`, `address`, `suburb`, `category`, `dateofinstall`, `complaintmessage`, `status`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(null, null, null, null, null, null, null, null, null, null, 'New', '2019-11-20 11:21:16', '2019-11-20 11:21:16'), object(Closure))in Connection.php line 450
at Connection->statement('insert into `complaints` (`firstname`, `lastname`, `email`, `contactnumber`, `state`, `address`, `suburb`, `category`, `dateofinstall`, `complaintmessage`, `status`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(null, null, null, null, null, null, null, null, null, null, 'New', '2019-11-20 11:21:16', '2019-11-20 11:21:16'))in Connection.php line 404
at Connection->insert('insert into `complaints` (`firstname`, `lastname`, `email`, `contactnumber`, `state`, `address`, `suburb`, `category`, `dateofinstall`, `complaintmessage`, `status`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(null, null, null, null, null, null, null, null, null, null, 'New', '2019-11-20 11:21:16', '2019-11-20 11:21:16'))in Processor.php line 32
at Processor->processInsertGetId(object(Builder), 'insert into `complaints` (`firstname`, `lastname`, `email`, `contactnumber`, `state`, `address`, `suburb`, `category`, `dateofinstall`, `complaintmessage`, `status`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(null, null, null, null, null, null, null, null, null, null, 'New', '2019-11-20 11:21:16', '2019-11-20 11:21:16'), 'id')in Builder.php line 2133
at Builder->insertGetId(array(null, null, null, null, null, null, null, null, null, null, 'New', '2019-11-20 11:21:16', '2019-11-20 11:21:16'), 'id')in Builder.php line 1251
at Builder->__call('insertGetId', array(array('firstname' => null, 'lastname' => null, 'email' => null, 'contactnumber' => null, 'state' => null, 'address' => null, 'suburb' => null, 'category' => null, 'dateofinstall' => null, 'complaintmessage' => null, 'status' => 'New', 'updated_at' => '2019-11-20 11:21:16', 'created_at' => '2019-11-20 11:21:16'), 'id'))in Model.php line 688
at Model->insertAndSetId(object(Builder), array('firstname' => null, 'lastname' => null, 'email' => null, 'contactnumber' => null, 'state' => null, 'address' => null, 'suburb' => null, 'category' => null, 'dateofinstall' => null, 'complaintmessage' => null, 'status' => 'New', 'updated_at' => '2019-11-20 11:21:16', 'created_at' => '2019-11-20 11:21:16'))in Model.php line 653
at Model->performInsert(object(Builder))in Model.php line 522
at Model->save()in Builder.php line 734
at Builder->Illuminate\Database\Eloquent\{closure}(object(Complaint))in helpers.php line 964
at tap(object(Complaint), object(Closure))in Builder.php line 735
at Builder->create(array('firstname' => null, 'lastname' => null, 'email' => null, 'contactnumber' => null, 'state' => null, 'party_uniqe' => '4641bdf1863dbe1230720af965fb02a6', 'address' => null, 'suburb' => null, 'category' => null, 'dateofinstall' => null, 'complaintmessage' => null, 'status' => 'New'))in Model.php line 1374
at Model->__call('create', array(array('firstname' => null, 'lastname' => null, 'email' => null, 'contactnumber' => null, 'state' => null, 'party_uniqe' => '4641bdf1863dbe1230720af965fb02a6', 'address' => null, 'suburb' => null, 'category' => null, 'dateofinstall' => null, 'complaintmessage' => null, 'status' => 'New')))in Model.php line 1386
at Model::__callStatic('create', array(array('firstname' => null, 'lastname' => null, 'email' => null, 'contactnumber' => null, 'state' => null, 'party_uniqe' => '4641bdf1863dbe1230720af965fb02a6', 'address' => null, 'suburb' => null, 'category' => null, 'dateofinstall' => null, 'complaintmessage' => null, 'status' => 'New')))in PartyController.php line 76
at PartyController->complaintlog(object(Request))
at call_user_func_array(array(object(PartyController), 'complaintlog'), array(object(Request)))in Controller.php line 55
at Controller->callAction('complaintlog', array(object(Request)))in ControllerDispatcher.php line 44
at ControllerDispatcher->dispatch(object(Route), object(PartyController), 'complaintlog')in Route.php line 203
at Route->runController()in Route.php line 160
at Route->run()in Router.php line 572
at Router->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request))in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure))in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ThrottleRequests.php line 49
at ThrottleRequests->handle(object(Request), object(Closure), '60', '1')in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 102
at Pipeline->then(object(Closure))in Router.php line 574
at Router->runRouteWithinStack(object(Route), object(Request))in Router.php line 533
at Router->dispatchToRoute(object(Request))in Router.php line 511
at Router->dispatch(object(Request))in Kernel.php line 176
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request))in TransformsRequest.php line 30
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in TransformsRequest.php line 30
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ValidatePostSize.php line 27
at ValidatePostSize->handle(object(Request), object(Closure))in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure))in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 102
at Pipeline->then(object(Closure))in Kernel.php line 151
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php line 116
at Kernel->handle(object(Request))in index.php line 54

(1/2) PDOException

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'firstname' cannot be null

in Connection.php line 449
at PDOStatement->execute()in Connection.php line 449
at Connection->Illuminate\Database\{closure}('insert into `complaints` (`firstname`, `lastname`, `email`, `contactnumber`, `state`, `address`, `suburb`, `category`, `dateofinstall`, `complaintmessage`, `status`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(null, null, null, null, null, null, null, null, null, null, 'New', '2019-11-20 11:21:16', '2019-11-20 11:21:16'))in Connection.php line 640
at Connection->runQueryCallback('insert into `complaints` (`firstname`, `lastname`, `email`, `contactnumber`, `state`, `address`, `suburb`, `category`, `dateofinstall`, `complaintmessage`, `status`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(null, null, null, null, null, null, null, null, null, null, 'New', '2019-11-20 11:21:16', '2019-11-20 11:21:16'), object(Closure))in Connection.php line 607
at Connection->run('insert into `complaints` (`firstname`, `lastname`, `email`, `contactnumber`, `state`, `address`, `suburb`, `category`, `dateofinstall`, `complaintmessage`, `status`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(null, null, null, null, null, null, null, null, null, null, 'New', '2019-11-20 11:21:16', '2019-11-20 11:21:16'), object(Closure))in Connection.php line 450
at Connection->statement('insert into `complaints` (`firstname`, `lastname`, `email`, `contactnumber`, `state`, `address`, `suburb`, `category`, `dateofinstall`, `complaintmessage`, `status`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(null, null, null, null, null, null, null, null, null, null, 'New', '2019-11-20 11:21:16', '2019-11-20 11:21:16'))in Connection.php line 404
at Connection->insert('insert into `complaints` (`firstname`, `lastname`, `email`, `contactnumber`, `state`, `address`, `suburb`, `category`, `dateofinstall`, `complaintmessage`, `status`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(null, null, null, null, null, null, null, null, null, null, 'New', '2019-11-20 11:21:16', '2019-11-20 11:21:16'))in Processor.php line 32
at Processor->processInsertGetId(object(Builder), 'insert into `complaints` (`firstname`, `lastname`, `email`, `contactnumber`, `state`, `address`, `suburb`, `category`, `dateofinstall`, `complaintmessage`, `status`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(null, null, null, null, null, null, null, null, null, null, 'New', '2019-11-20 11:21:16', '2019-11-20 11:21:16'), 'id')in Builder.php line 2133
at Builder->insertGetId(array(null, null, null, null, null, null, null, null, null, null, 'New', '2019-11-20 11:21:16', '2019-11-20 11:21:16'), 'id')in Builder.php line 1251
at Builder->__call('insertGetId', array(array('firstname' => null, 'lastname' => null, 'email' => null, 'contactnumber' => null, 'state' => null, 'address' => null, 'suburb' => null, 'category' => null, 'dateofinstall' => null, 'complaintmessage' => null, 'status' => 'New', 'updated_at' => '2019-11-20 11:21:16', 'created_at' => '2019-11-20 11:21:16'), 'id'))in Model.php line 688
at Model->insertAndSetId(object(Builder), array('firstname' => null, 'lastname' => null, 'email' => null, 'contactnumber' => null, 'state' => null, 'address' => null, 'suburb' => null, 'category' => null, 'dateofinstall' => null, 'complaintmessage' => null, 'status' => 'New', 'updated_at' => '2019-11-20 11:21:16', 'created_at' => '2019-11-20 11:21:16'))in Model.php line 653
at Model->performInsert(object(Builder))in Model.php line 522
at Model->save()in Builder.php line 734
at Builder->Illuminate\Database\Eloquent\{closure}(object(Complaint))in helpers.php line 964
at tap(object(Complaint), object(Closure))in Builder.php line 735
at Builder->create(array('firstname' => null, 'lastname' => null, 'email' => null, 'contactnumber' => null, 'state' => null, 'party_uniqe' => '4641bdf1863dbe1230720af965fb02a6', 'address' => null, 'suburb' => null, 'category' => null, 'dateofinstall' => null, 'complaintmessage' => null, 'status' => 'New'))in Model.php line 1374
at Model->__call('create', array(array('firstname' => null, 'lastname' => null, 'email' => null, 'contactnumber' => null, 'state' => null, 'party_uniqe' => '4641bdf1863dbe1230720af965fb02a6', 'address' => null, 'suburb' => null, 'category' => null, 'dateofinstall' => null, 'complaintmessage' => null, 'status' => 'New')))in Model.php line 1386
at Model::__callStatic('create', array(array('firstname' => null, 'lastname' => null, 'email' => null, 'contactnumber' => null, 'state' => null, 'party_uniqe' => '4641bdf1863dbe1230720af965fb02a6', 'address' => null, 'suburb' => null, 'category' => null, 'dateofinstall' => null, 'complaintmessage' => null, 'status' => 'New')))in PartyController.php line 76
at PartyController->complaintlog(object(Request))
at call_user_func_array(array(object(PartyController), 'complaintlog'), array(object(Request)))in Controller.php line 55
at Controller->callAction('complaintlog', array(object(Request)))in ControllerDispatcher.php line 44
at ControllerDispatcher->dispatch(object(Route), object(PartyController), 'complaintlog')in Route.php line 203
at Route->runController()in Route.php line 160
at Route->run()in Router.php line 572
at Router->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request))in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure))in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ThrottleRequests.php line 49
at ThrottleRequests->handle(object(Request), object(Closure), '60', '1')in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 102
at Pipeline->then(object(Closure))in Router.php line 574
at Router->runRouteWithinStack(object(Route), object(Request))in Router.php line 533
at Router->dispatchToRoute(object(Request))in Router.php line 511
at Router->dispatch(object(Request))in Kernel.php line 176
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request))in TransformsRequest.php line 30
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in TransformsRequest.php line 30
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ValidatePostSize.php line 27
at ValidatePostSize->handle(object(Request), object(Closure))in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure))in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 102
at Pipeline->then(object(Closure))in Kernel.php line 151
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php line 116
at Kernel->handle(object(Request))in index.php line 54