我有一個(gè)基本的控制器動(dòng)作: public function createAction() { $this->view->disable(); $formData = $this->request->getJsonRawBody(); $user = new Users(); $user->first_name = $formData->first_name; $user->last_name = $formData->last_name; $user->email_address = $formData->email_address; $user->password = $formData->password; // this prints to my debug log. $result = $user->save(); AppLogger::$logger->debug(print_r($result, true)); // this does not print. AppLogger::$logger->debug("oh boy #2"); // this does not print either. // which seems to tell me that the line above it is problematic, // but there is no error output from `phalcon serve` echo Json::encode($result); }我看到的最接近錯(cuò)誤的是PHP/Phalcon Error: Closed without sending a request; it was probably just an unused speculative preconnection:這出現(xiàn)在 的輸出中phalcon serve。我phalcon serve在 Windows 上運(yùn)行 VSCode。
PHP/Phalcon 錯(cuò)誤:沒(méi)有發(fā)送請(qǐng)求就關(guān)閉了;它可能只是一個(gè)未使用的推測(cè)性預(yù)連接
天涯盡頭無(wú)女友
2023-05-26 17:28:43