后台删除待审核问题时,又提示错误。

Whoops, looks like something went wrong.2/2QueryException in Connection.php line 662:SQLSTATE[22003]: Numeric value out of range: 1690 BIGINT UNSIGNED value is out of range in '(`tp_shejiliu`.`ask_user_data`.`articles` - 1)' (SQL: update `ask_user_data` set `articles` = `articles` - 1 where `ask_user_data`.`user_id` = 1 and `ask_user_data`.`user_id` is not null)

  1. in Connection.php line 662
  2. at Connection->runQueryCallback('update `ask_user_data` set `articles` = `articles` - 1 where `ask_user_data`.`user_id` = ? and `ask_user_data`.`user_id` is not null', array('1'), object(Closure)) in Connection.php line 618
  3. at Connection->run('update `ask_user_data` set `articles` = `articles` - 1 where `ask_user_data`.`user_id` = ? and `ask_user_data`.`user_id` is not null', array('1'), object(Closure)) in Connection.php line 416
  4. at Connection->affectingStatement('update `ask_user_data` set `articles` = `articles` - 1 where `ask_user_data`.`user_id` = ? and `ask_user_data`.`user_id` is not null', array('1')) in Connection.php line 359
  5. at Connection->update('update `ask_user_data` set `articles` = `articles` - 1 where `ask_user_data`.`user_id` = ? and `ask_user_data`.`user_id` is not null', array('1')) in Builder.php line 1836
  6. at Builder->update(array('articles' => object(Expression))) in Builder.php line 1870
  7. at Builder->decrement('articles', '1', array()) in Builder.php line 414
  8. at Builder->decrement('articles')
  9. at call_user_func_array(array(object(Builder), 'decrement'), array('articles')) in Relation.php line 330
  10. at Relation->__call('decrement', array('articles')) in Article.php line 44
  11. at HasOne->decrement('articles') in Article.php line 44
  12. at Article::App\Models\{closure}(object(Article))
  13. at call_user_func_array(object(Closure), array(object(Article))) in Dispatcher.php line 221
  14. at Dispatcher->fire('eloquent.deleting: App\Models\Article', object(Article), true) in Dispatcher.php line 164
  15. at Dispatcher->until('eloquent.deleting: App\Models\Article', object(Article)) in Model.php line 1650
  16. at Model->fireModelEvent('deleting') in Model.php line 1090
  17. at Model->delete() in Model.php line 1068
  18. at Model::destroy(array('4', '2', '1')) in ArticleController.php line 91
  19. at ArticleController->destroy(object(Request))
  20. at call_user_func_array(array(object(ArticleController), 'destroy'), array(object(Request))) in Controller.php line 256
  21. at Controller->callAction('destroy', array(object(Request))) in ControllerDispatcher.php line 164
  22. at ControllerDispatcher->call(object(ArticleController), object(Route), 'destroy') in ControllerDispatcher.php line 112
  23. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  24. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  25. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  26. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  27. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 114
  28. at ControllerDispatcher->callWithinStack(object(ArticleController), object(Route), object(Request), 'destroy') in ControllerDispatcher.php line 69
  29. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Admin\ArticleController', 'destroy') in Route.php line 203
  30. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  31. at Route->run(object(Request)) in Router.php line 708
  32. at Router->Illuminate\Routing\{closure}(object(Request))
  33. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  34. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AdminAuthenticate.php line 28
  35. at AdminAuthenticate->handle(object(Request), object(Closure))
  36. at call_user_func_array(array(object(AdminAuthenticate), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  37. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Authenticate.php line 44
  38. at Authenticate->handle(object(Request), object(Closure))
  39. at call_user_func_array(array(object(Authenticate), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  40. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  41. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  42. at Pipeline->then(object(Closure)) in Router.php line 710
  43. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 675
  44. at Router->dispatchToRoute(object(Request)) in Router.php line 635
  45. at Router->dispatch(object(Request)) in Kernel.php line 236
  46. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  47. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  48. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 50
  49. at VerifyCsrfToken->handle(object(Request), object(Closure))
  50. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  51. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  52. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  53. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  54. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 62
  55. at StartSession->handle(object(Request), object(Closure))
  56. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  57. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  58. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  59. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  60. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 59
  61. at EncryptCookies->handle(object(Request), object(Closure))
  62. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  63. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  64. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  65. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  66. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  67. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  68. at Pipeline->then(object(Closure)) in Kernel.php line 122
  69. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
  70. at Kernel->handle(object(Request)) in index.php line 54


请先 登录 后评论

1 个回答

nordfx.top

这个问题找主机提供商的技术最快。

是不是某些权限不放开啊。

请先 登录 后评论