{"__meta":{"id":"X27c52315c0be126569045ecf161b327b","datetime":"2023-10-31 07:18:07","utime":1698736687.173659,"method":"POST","uri":"\/ajax-search","ip":"127.0.0.1"},"php":{"version":"7.4.33","interface":"cli-server"},"messages":{"count":1,"messages":[{"message":"[07:18:07] LOG.error: sizeof(): Parameter must be an array or an object that implements Countable {\"exception\":{}}","message_html":null,"is_string":false,"label":"error","time":1698736687.172849,"collector":"log"}]},"time":{"start":1698736686.804858,"end":1698736687.173676,"duration":0.3688180446624756,"duration_str":"369ms","measures":[{"label":"Booting","start":1698736686.804858,"relative_start":0,"end":1698736686.843168,"relative_end":1698736686.843168,"duration":0.03831005096435547,"duration_str":"38.31ms","memory":0,"memory_str":"0B","params":[],"collector":null},{"label":"Application","start":1698736686.843265,"relative_start":0.038407087326049805,"end":1698736687.173678,"relative_end":1.9073486328125e-6,"duration":0.3304128646850586,"duration_str":"330ms","memory":0,"memory_str":"0B","params":[],"collector":null}]},"memory":{"peak_usage":8502000,"peak_usage_str":"8MB"},"exceptions":{"count":1,"exceptions":[{"type":"ErrorException","message":"sizeof(): Parameter must be an array or an object that implements Countable","code":0,"file":"Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/app\/Http\/Controllers\/SearchController.php","line":203,"stack_trace":"#0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'sizeof(): Param...', '\/Users\/shaoguo\/...', 203, Array)\n#1 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/app\/Http\/Controllers\/SearchController.php(203): sizeof(Object(Illuminate\\Database\\Eloquent\\Builder))\n#2 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php(54): App\\Http\\Controllers\\SearchController->ajax_search(Object(Illuminate\\Http\\Request))\n#3 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('ajax_search', Array)\n#4 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\SearchController), 'ajax_search')\n#5 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php(205): Illuminate\\Routing\\Route->runController()\n#6 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(721): Illuminate\\Routing\\Route->run()\n#7 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\n#8 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/app\/Http\/Middleware\/CheckForMaintenanceMode.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\n#9 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(167): App\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))\n#10 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/app\/Http\/Middleware\/HttpsProtocol.php(20): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\n#11 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(167): App\\Http\\Middleware\\HttpsProtocol->handle(Object(Illuminate\\Http\\Request), Object(Closure))\n#12 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/app\/Http\/Middleware\/Language.php(31): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\n#13 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(167): App\\Http\\Middleware\\Language->handle(Object(Illuminate\\Http\\Request), Object(Closure))\n#14 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\n#15 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))\n#16 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Middleware\/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\n#17 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))\n#18 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\n#19 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure))\n#20 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))\n#21 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Cookie\/Middleware\/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\n#22 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))\n#23 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\n#24 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#25 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))\n#26 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))\n#27 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))\n#28 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))\n#29 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))\n#30 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/barryvdh\/laravel-debugbar\/src\/Middleware\/InjectDebugbar.php(66): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\n#31 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(167): Barryvdh\\Debugbar\\Middleware\\InjectDebugbar->handle(Object(Illuminate\\Http\\Request), Object(Closure))\n#32 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/fideloper\/proxy\/src\/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\n#33 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))\n#34 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Middleware\/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\n#35 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Middleware\/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))\n#36 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))\n#37 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Middleware\/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\n#38 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Middleware\/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))\n#39 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))\n#40 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Middleware\/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\n#41 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))\n#42 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\n#43 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#44 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))\n#45 \/Users\/shaoguo\/Desktop\/\u516c\u53f8\u8d44\u6599\/\u5c0f\u68a6\/\u5546\u57ce\/ebayShop\/index.php(57): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\n#46 {main}","stack_trace_html":"
array:46<\/span> [\n 0<\/span> => array:4<\/span> [\n \"function<\/span>\" => \"handleError<\/span>\"\n \"class<\/span>\" => \"Illuminate\\Foundation\\Bootstrap\\HandleExceptions<\/span>\"\n \"type<\/span>\" => \"-><\/span>\"\n \"args<\/span>\" => array:5<\/span> [\n 0<\/span> => 2<\/span>\n 1<\/span> => \"sizeof(): Parameter must be an array or an object that implements Countable<\/span>\"\n 2<\/span> => \"\/Users\/shaoguo\/Desktop\/公司资料\/小梦\/商城\/ebayShop\/app\/Http\/Controllers\/SearchController.php<\/span>\"\n 3<\/span> => 203<\/span>\n 4<\/span> => array:6<\/span> [\n \"request<\/span>\" => Illuminate\\Http<\/span>\\<\/span>Request<\/span> {#44<\/a>\n #json<\/span>: null<\/span>\n #convertedFiles<\/span>: []\n #userResolver<\/span>: Closure($guard = null)<\/span> {#2607<\/a>\n