Whoops, looks like something went wrong.

2/2 QueryException in Connection.php line 729: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'product_id' cannot be null (SQL: insert into `product_reviews` (`product_id`, `ip`, `updated_at`, `created_at`) values (, 162.241.175.135, 2019-07-16 02:55:21, 2019-07-16 02:55:21))

  1. in Connection.php line 729
  2. at Connection->runQueryCallback('insert into `product_reviews` (`product_id`, `ip`, `updated_at`, `created_at`) values (?, ?, ?, ?)', array(null, '162.241.175.135', '2019-07-16 02:55:21', '2019-07-16 02:55:21'), object(Closure)) in Connection.php line 685
  3. at Connection->run('insert into `product_reviews` (`product_id`, `ip`, `updated_at`, `created_at`) values (?, ?, ?, ?)', array(null, '162.241.175.135', '2019-07-16 02:55:21', '2019-07-16 02:55:21'), object(Closure)) in Connection.php line 458
  4. at Connection->statement('insert into `product_reviews` (`product_id`, `ip`, `updated_at`, `created_at`) values (?, ?, ?, ?)', array(null, '162.241.175.135', '2019-07-16 02:55:21', '2019-07-16 02:55:21')) in Connection.php line 414
  5. at Connection->insert('insert into `product_reviews` (`product_id`, `ip`, `updated_at`, `created_at`) values (?, ?, ?, ?)', array(null, '162.241.175.135', '2019-07-16 02:55:21', '2019-07-16 02:55:21')) in Processor.php line 32
  6. at Processor->processInsertGetId(object(Builder), 'insert into `product_reviews` (`product_id`, `ip`, `updated_at`, `created_at`) values (?, ?, ?, ?)', array(null, '162.241.175.135', '2019-07-16 02:55:21', '2019-07-16 02:55:21'), 'id') in Builder.php line 2107
  7. at Builder->insertGetId(array(null, '162.241.175.135', '2019-07-16 02:55:21', '2019-07-16 02:55:21'), 'id')
  8. at call_user_func_array(array(object(Builder), 'insertGetId'), array(array('product_id' => null, 'ip' => '162.241.175.135', 'updated_at' => '2019-07-16 02:55:21', 'created_at' => '2019-07-16 02:55:21'), 'id')) in Builder.php line 1423
  9. at Builder->__call('insertGetId', array(array('product_id' => null, 'ip' => '162.241.175.135', 'updated_at' => '2019-07-16 02:55:21', 'created_at' => '2019-07-16 02:55:21'), 'id')) in Model.php line 1628
  10. at Model->insertAndSetId(object(Builder), array('product_id' => null, 'ip' => '162.241.175.135', 'updated_at' => '2019-07-16 02:55:21', 'created_at' => '2019-07-16 02:55:21')) in Model.php line 1597
  11. at Model->performInsert(object(Builder), array()) in Model.php line 1488
  12. at Model->save() in WpApiController.php line 823
  13. at WpApiController->summary(object(Request))
  14. at call_user_func_array(array(object(WpApiController), 'summary'), array(object(Request))) in Controller.php line 80
  15. at Controller->callAction('summary', array(object(Request))) in ControllerDispatcher.php line 146
  16. at ControllerDispatcher->call(object(WpApiController), object(Route), 'summary') in ControllerDispatcher.php line 94
  17. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  18. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  19. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ApiGuard.php line 217
  20. at ApiGuard->handle(object(Request), object(Closure), 'a:5:{s:12:"functionName";a:1:{s:17:"keyAuthentication";b:0;}s:15:"getFeaturedCars";a:1:{s:17:"keyAuthentication";b:0;}s:16:"getMakesVehicles";a:1:{s:17:"keyAuthentication";b:0;}s:16:"getTypesVehicles";a:1:{s:17:"keyAuthentication";b:0;}s:16:"testTradinModels";a:1:{s:17:"keyAuthentication";b:0;}}')
  21. at call_user_func_array(array(object(ApiGuard), 'handle'), array(object(Request), object(Closure), 'a:5:{s:12:"functionName";a:1:{s:17:"keyAuthentication";b:0;}s:15:"getFeaturedCars";a:1:{s:17:"keyAuthentication";b:0;}s:16:"getMakesVehicles";a:1:{s:17:"keyAuthentication";b:0;}s:16:"getTypesVehicles";a:1:{s:17:"keyAuthentication";b:0;}s:16:"testTradinModels";a:1:{s:17:"keyAuthentication";b:0;}}')) in Pipeline.php line 136
  22. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  23. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  24. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  26. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 96
  27. at ControllerDispatcher->callWithinStack(object(WpApiController), object(Route), object(Request), 'summary') in ControllerDispatcher.php line 54
  28. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\WpApiController', 'summary') in Route.php line 174
  29. at Route->runController(object(Request)) in Route.php line 140
  30. at Route->run(object(Request)) in Router.php line 724
  31. at Router->Illuminate\Routing\{closure}(object(Request))
  32. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  33. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 64
  34. at VerifyCsrfToken->handle(object(Request), object(Closure))
  35. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  36. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  37. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  38. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  39. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  40. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  41. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  42. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  43. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
  44. at StartSession->handle(object(Request), object(Closure))
  45. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  46. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  47. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  48. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  49. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  50. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  51. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  52. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  53. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
  54. at EncryptCookies->handle(object(Request), object(Closure))
  55. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  56. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  57. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  58. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  59. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  60. at Pipeline->then(object(Closure)) in Router.php line 726
  61. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699
  62. at Router->dispatchToRoute(object(Request)) in Router.php line 675
  63. at Router->dispatch(object(Request)) in Kernel.php line 246
  64. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  65. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  66. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in HandleCors.php line 34
  67. at HandleCors->handle(object(Request), object(Closure))
  68. at call_user_func_array(array(object(HandleCors), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  69. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  70. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  71. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Tracker.php line 24
  72. at Tracker->handle(object(Request), object(Closure))
  73. at call_user_func_array(array(object(Tracker), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  74. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  75. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  76. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  77. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  78. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  79. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  80. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  81. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  82. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  83. at Pipeline->then(object(Closure)) in Kernel.php line 132
  84. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
  85. at Kernel->handle(object(Request)) in index.php line 5

1/2 PDOException in Connection.php line 457: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'product_id' cannot be null

  1. in Connection.php line 457
  2. at PDOStatement->execute(array(null, '162.241.175.135', '2019-07-16 02:55:21', '2019-07-16 02:55:21')) in Connection.php line 457
  3. at Connection->Illuminate\Database\{closure}(object(MySqlConnection), 'insert into `product_reviews` (`product_id`, `ip`, `updated_at`, `created_at`) values (?, ?, ?, ?)', array(null, '162.241.175.135', '2019-07-16 02:55:21', '2019-07-16 02:55:21')) in Connection.php line 722
  4. at Connection->runQueryCallback('insert into `product_reviews` (`product_id`, `ip`, `updated_at`, `created_at`) values (?, ?, ?, ?)', array(null, '162.241.175.135', '2019-07-16 02:55:21', '2019-07-16 02:55:21'), object(Closure)) in Connection.php line 685
  5. at Connection->run('insert into `product_reviews` (`product_id`, `ip`, `updated_at`, `created_at`) values (?, ?, ?, ?)', array(null, '162.241.175.135', '2019-07-16 02:55:21', '2019-07-16 02:55:21'), object(Closure)) in Connection.php line 458
  6. at Connection->statement('insert into `product_reviews` (`product_id`, `ip`, `updated_at`, `created_at`) values (?, ?, ?, ?)', array(null, '162.241.175.135', '2019-07-16 02:55:21', '2019-07-16 02:55:21')) in Connection.php line 414
  7. at Connection->insert('insert into `product_reviews` (`product_id`, `ip`, `updated_at`, `created_at`) values (?, ?, ?, ?)', array(null, '162.241.175.135', '2019-07-16 02:55:21', '2019-07-16 02:55:21')) in Processor.php line 32
  8. at Processor->processInsertGetId(object(Builder), 'insert into `product_reviews` (`product_id`, `ip`, `updated_at`, `created_at`) values (?, ?, ?, ?)', array(null, '162.241.175.135', '2019-07-16 02:55:21', '2019-07-16 02:55:21'), 'id') in Builder.php line 2107
  9. at Builder->insertGetId(array(null, '162.241.175.135', '2019-07-16 02:55:21', '2019-07-16 02:55:21'), 'id')
  10. at call_user_func_array(array(object(Builder), 'insertGetId'), array(array('product_id' => null, 'ip' => '162.241.175.135', 'updated_at' => '2019-07-16 02:55:21', 'created_at' => '2019-07-16 02:55:21'), 'id')) in Builder.php line 1423
  11. at Builder->__call('insertGetId', array(array('product_id' => null, 'ip' => '162.241.175.135', 'updated_at' => '2019-07-16 02:55:21', 'created_at' => '2019-07-16 02:55:21'), 'id')) in Model.php line 1628
  12. at Model->insertAndSetId(object(Builder), array('product_id' => null, 'ip' => '162.241.175.135', 'updated_at' => '2019-07-16 02:55:21', 'created_at' => '2019-07-16 02:55:21')) in Model.php line 1597
  13. at Model->performInsert(object(Builder), array()) in Model.php line 1488
  14. at Model->save() in WpApiController.php line 823
  15. at WpApiController->summary(object(Request))
  16. at call_user_func_array(array(object(WpApiController), 'summary'), array(object(Request))) in Controller.php line 80
  17. at Controller->callAction('summary', array(object(Request))) in ControllerDispatcher.php line 146
  18. at ControllerDispatcher->call(object(WpApiController), object(Route), 'summary') in ControllerDispatcher.php line 94
  19. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  20. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  21. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ApiGuard.php line 217
  22. at ApiGuard->handle(object(Request), object(Closure), 'a:5:{s:12:"functionName";a:1:{s:17:"keyAuthentication";b:0;}s:15:"getFeaturedCars";a:1:{s:17:"keyAuthentication";b:0;}s:16:"getMakesVehicles";a:1:{s:17:"keyAuthentication";b:0;}s:16:"getTypesVehicles";a:1:{s:17:"keyAuthentication";b:0;}s:16:"testTradinModels";a:1:{s:17:"keyAuthentication";b:0;}}')
  23. at call_user_func_array(array(object(ApiGuard), 'handle'), array(object(Request), object(Closure), 'a:5:{s:12:"functionName";a:1:{s:17:"keyAuthentication";b:0;}s:15:"getFeaturedCars";a:1:{s:17:"keyAuthentication";b:0;}s:16:"getMakesVehicles";a:1:{s:17:"keyAuthentication";b:0;}s:16:"getTypesVehicles";a:1:{s:17:"keyAuthentication";b:0;}s:16:"testTradinModels";a:1:{s:17:"keyAuthentication";b:0;}}')) in Pipeline.php line 136
  24. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  26. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  27. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  28. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 96
  29. at ControllerDispatcher->callWithinStack(object(WpApiController), object(Route), object(Request), 'summary') in ControllerDispatcher.php line 54
  30. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\WpApiController', 'summary') in Route.php line 174
  31. at Route->runController(object(Request)) in Route.php line 140
  32. at Route->run(object(Request)) in Router.php line 724
  33. at Router->Illuminate\Routing\{closure}(object(Request))
  34. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  35. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 64
  36. at VerifyCsrfToken->handle(object(Request), object(Closure))
  37. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  38. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  39. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  40. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  41. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  42. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  43. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  44. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  45. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
  46. at StartSession->handle(object(Request), object(Closure))
  47. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  48. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  49. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  50. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  51. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  52. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  53. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  54. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  55. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
  56. at EncryptCookies->handle(object(Request), object(Closure))
  57. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  58. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  59. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  60. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  61. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  62. at Pipeline->then(object(Closure)) in Router.php line 726
  63. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699
  64. at Router->dispatchToRoute(object(Request)) in Router.php line 675
  65. at Router->dispatch(object(Request)) in Kernel.php line 246
  66. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  67. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  68. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in HandleCors.php line 34
  69. at HandleCors->handle(object(Request), object(Closure))
  70. at call_user_func_array(array(object(HandleCors), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  71. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  72. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  73. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Tracker.php line 24
  74. at Tracker->handle(object(Request), object(Closure))
  75. at call_user_func_array(array(object(Tracker), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  76. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  77. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  78. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  79. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  80. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  81. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  82. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  83. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  84. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  85. at Pipeline->then(object(Closure)) in Kernel.php line 132
  86. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
  87. at Kernel->handle(object(Request)) in index.php line 5