beat·365(中国)官方网站-ios/安卓/手机APP下载

#0 [2]ErrorException in Paginator.php line 120

Division by zero

  1. $items = Collection::make($items);
  2. }
  3. if ($simple) {
  4. $this->currentPage = $this->setCurrentPage($currentPage);
  5. $this->hasMore = count($items) > ($this->listRows);
  6. $items = $items->slice(0, $this->listRows);
  7. } else {
  8. $this->total = $total;
  9. $this->lastPage = (int) ceil($total / $listRows);
  10. $this->currentPage = $this->setCurrentPage($currentPage);
  11. $this->hasMore = $this->currentPage < $this->lastPage;
  12. }
  13. $this->items = $items;
  14. }
  15. /**
  16. * @access public
  17. * @param mixed $items

Call Stack

  1. in Paginator.php line 120
  2. at Error->appError(2, 'Division by zero', 'C:\wwwroot\ccvig.cn\...', 120, ['items' => object(Collection), 'listRows' => 0, 'currentPage' => 1, ...]) in Paginator.php line 120
  3. at Paginator->__construct(object(Collection), 0, 1, 0, false, ['query' => [], 'fragment' => '', 'var_page' => 'page', ...])
  4. at ReflectionClass->newInstanceArgs([object(Collection), 0, 1, ...]) in Container.php line 394
  5. at Container->invokeClass('think\paginator\driv...', [object(Collection), 0, 1, ...]) in Container.php line 251
  6. at Container->make('think\paginator\driv...', [object(Collection), 0, 1, ...], true) in PaginatorService.php line 34
  7. at PaginatorService->think\service\{closure}(object(Collection), 0, 1, 0, false, ['query' => [], 'fragment' => '', 'var_page' => 'page', ...])
  8. at call_user_func(object(Closure), object(Collection), 0, 1, 0, false, ['query' => [], 'fragment' => '', 'var_page' => 'page', ...]) in Paginator.php line 140
  9. at Paginator::make(object(Collection), 0, 1, 0, false, ['query' => [], 'fragment' => '', 'var_page' => 'page', ...]) in BaseQuery.php line 635
  10. at BaseQuery->paginate(0) in Article.php line 195
  11. at Article->index()
  12. at ReflectionMethod->invokeArgs(object(Article), []) in Container.php line 343
  13. at Container->invokeReflectMethod(object(Article), object(ReflectionMethod), ['tid' => '2014', '01' => 'content_7110996.htm']) in Controller.php line 110
  14. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  15. at Pipeline->think\{closure}(object(Request)) in Browers.php line 57
  16. at Browers->handle(object(Request), object(Closure))
  17. at call_user_func([object(Browers), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  18. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  19. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  20. at Pipeline->then(object(Closure)) in Controller.php line 113
  21. at Controller->exec() in Dispatch.php line 89
  22. at Dispatch->run() in Route.php line 772
  23. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  24. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  25. at Pipeline->then(object(Closure)) in Route.php line 773
  26. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  27. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  28. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  29. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  30. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  31. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  32. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  33. at MultiApp->handle(object(Request), object(Closure))
  34. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  35. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  36. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  37. at SessionInit->handle(object(Request), object(Closure))
  38. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  39. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  40. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  41. at TraceDebug->handle(object(Request), object(Closure))
  42. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  43. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  44. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  45. at Pipeline->then(object(Closure)) in Http.php line 207
  46. at Http->runWithRequest(object(Request)) in Http.php line 170
  47. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID 5bf0a88126a37944c6e9cb6bb4797ffd
Sessionempty
Server/Request Data
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
BT_PANEL C:\BtSoft\panel
BT_PYTHON C:\Program Files\python
BT_SETUP C:\BtSoft
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME iZogk3loh75yxvZ
ComSpec C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK NO
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 2
OS Windows_NT
Path C:\OpenSSH-Win64;C:\Program Files\OpenSSH\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\python;C:\Program Files\python\Scripts;;C:\BtSoft\panel\script;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 85 Stepping 7, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 5507
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PSModulePath C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC C:\Users\Public
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Windows\TEMP
TMP C:\Windows\TEMP
UNRAR_LIB_PATH C:\Program Files\python\Lib\site-packages\unrar\UnRAR.dll
USERDOMAIN WORKGROUP
USERNAME iZogk3loh75yxvZ$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
windows_tracing_flags 3
windows_tracing_logfile C:\BVTBin\Tests\installpackage\csilogfile.log
HTTP_COOKIE PHPSESSID=5bf0a88126a37944c6e9cb6bb4797ffd
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.chcic.com
HTTP_USER_AGENT Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot)
REDIRECT_STATUS 200
SERVER_NAME ccvig.cn
SERVER_PORT 80
SERVER_ADDR 172.28.18.104
REMOTE_PORT 55054
REMOTE_ADDR 170.130.200.110
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT C:/wwwroot/ccvig.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /article/2014-08/01/content_7110996.htm
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//article/2014-08/01/content_7110996.htm
PATH_INFO
SCRIPT_NAME /index.php
SCRIPT_FILENAME C:/wwwroot/ccvig.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1731563600.9036
REQUEST_TIME 1731563600