#0 [0]InvalidArgumentException in Driver.php line 118

only array cache can be push

  1. * @param string $name 缓存变量名
  2. * @param mixed $value 存储数据
  3. * @return void
  4. */
  5. public function push($name, $value): void
  6. {
  7. $item = $this->get($name, []);
  8. if (!is_array($item)) {
  9. throw new InvalidArgumentException('only array cache can be push');
  10. }
  11. $item[] = $value;
  12. if (count($item) > 1000) {
  13. array_shift($item);
  14. }
  15. $item = array_unique($item);

Call Stack

  1. in Driver.php line 118
  2. at Driver->push('tag:2229990e5008a244...', 'D:\waimaozhan-www\wm...') in Driver.php line 141
  3. at Driver->append('tag:2229990e5008a244...', 'D:\waimaozhan-www\wm...') in TagSet.php line 62
  4. at TagSet->append('D:\waimaozhan-www\wm...') in TagSet.php line 45
  5. at TagSet->set('["common","model","A...', [['id' => 80, 'channeltype' => 2, 'current_channel' => 2, ...], ['id' => 116, 'channeltype' => 2, 'current_channel' => 2, ...]], null) in helper.php line 177
  6. at cache('["common","model","A...', [['id' => 80, 'channeltype' => 2, 'current_channel' => 2, ...], ['id' => 116, 'channeltype' => 2, 'current_channel' => 2, ...]], null, 'arctype') in Arctype.php line 533
  7. at Arctype->getAllPid(116) in View.php line 831
  8. at View->getPosition(116) in View.php line 570
  9. at View->index(7)
  10. at ReflectionMethod->invokeArgs(object(View), ['7']) in Container.php line 345
  11. at Container->invokeReflectMethod(object(View), object(ReflectionMethod), ['englink' => 'precision-steel-pipe', 'aid' => '7']) in Controller.php line 110
  12. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  13. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  14. at Pipeline->then(object(Closure)) in Controller.php line 84
  15. at Controller->exec() in Dispatch.php line 52
  16. at Dispatch->run() in Route.php line 756
  17. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  18. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  19. at Pipeline->then(object(Closure)) in Route.php line 755
  20. at Route->dispatch(object(Request), object(Closure)) in Http.php line 208
  21. at Http->dispatchToRoute(object(Request)) in Http.php line 198
  22. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  23. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 51
  24. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  25. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  26. at Pipeline->then(object(Closure)) in MultiApp.php line 50
  27. at MultiApp->handle(object(Request), object(Closure))
  28. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 134
  29. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  30. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 58
  31. at SessionInit->handle(object(Request), object(Closure))
  32. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 134
  33. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  34. at Pipeline->think\{closure}(object(Request)) in LoadLangPack.php line 53
  35. at LoadLangPack->handle(object(Request), object(Closure))
  36. at call_user_func([object(LoadLangPack), 'handle'], object(Request), object(Closure)) in Middleware.php line 134
  37. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  38. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  39. at TraceDebug->handle(object(Request), object(Closure))
  40. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 134
  41. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  42. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  43. at Pipeline->then(object(Closure)) in Http.php line 197
  44. at Http->runWithRequest(object(Request)) in Http.php line 162
  45. at Http->run() in index.php line 173

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-57541f80-046a-40f7-90f6-8b5f82f33cea
PHP_FCGI_MAX_REQUESTS 10000
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\9\9.config
APP_POOL_ID 9
BT_PANEL D:\BtSoft\panel
BT_PYTHON C:\Program Files\python
BT_SETUP D:\BtSoft
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME WIN-LK346UK50UD
ComSpec C:\Windows\system32\cmd.exe
DriverData C:\Windows\System32\Drivers\DriverData
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 8
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\python;C:\Program Files\python\Scripts;D:\BtSoft\panel\script;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 3a09
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 WIN-LK346UK50UD$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
ORIG_PATH_INFO /index.php
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/10.0
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME www.8226.com.cn
SCRIPT_NAME /index.php
SCRIPT_FILENAME D:\waimaozhan-www\wmys_ceshi2\index.php
REQUEST_URI /precision-steel-pipe_p7.html
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 56936
REMOTE_HOST 107.178.178.58
REMOTE_ADDR 107.178.178.58
QUERY_STRING s=precision-steel-pipe_p7.html
PATH_TRANSLATED D:\waimaozhan-www\wmys_ceshi2\index.php
LOGON_USER
LOCAL_ADDR 107.178.178.58
INSTANCE_META_PATH /LM/W3SVC/1160
INSTANCE_NAME WWW.8226.COM.CN
INSTANCE_ID 1160
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT D:\waimaozhan-www\wmys_ceshi2
CONTENT_TYPE
CONTENT_LENGTH 0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH D:\waimaozhan-www\wmys_ceshi2\
APPL_MD_PATH /LM/W3SVC/1160/ROOT
WEBSOCKET_VERSION 13
IIS_UrlRewriteModule 7.1.0871.0
UNENCODED_URL /precision-steel-pipe_p7.html
IIS_WasUrlRewritten 1
HTTP_X_ORIGINAL_URL /precision-steel-pipe_p7.html
HTTP_X_FORWARDED_FOR 204.181.140.222
HTTP_CLIENT_IP 60.165.168.185
HTTP_USER_AGENT Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)
HTTP_REFERER http://www.8226.com.cn/precision-steel-pipe_p7.html
HTTP_HOST www.8226.com.cn
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT */*
HTTP_CONTENT_LENGTH 0
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1726911477.4558
REQUEST_TIME 1726911477
0.625578s