{"record":{"id":"8c451418b651432f","repo":"getgrav/grav","slug":"no-temporary-file","errorCode":null,"errorMessage":"No temporary file","messagePattern":"No temporary file","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"system/src/Grav/Framework/Form/FormFlashFile.php","lineNumber":72,"sourceCode":"            $this->upload['size'] = $tmpFile && $this->isOk() ? filesize($tmpFile) : 0;\n        }\n    }\n\n    /**\n     * @return StreamInterface\n     */\n    public function getStream(): StreamInterface\n    {\n        $this->validateActive();\n\n        $tmpFile = $this->getTmpFile();\n        if (null === $tmpFile) {\n            throw new RuntimeException('No temporary file');\n        }\n\n        $resource = fopen($tmpFile, 'rb');\n        if (false === $resource) {\n            throw new RuntimeException('No temporary file');\n        }\n\n        return Stream::create($resource);\n    }\n\n    /**\n     * @param string $targetPath\n     * @return void\n     */\n    public function moveTo(string $targetPath): void\n    {\n        $this->validateActive();\n\n        if ($targetPath === '') {\n            throw new InvalidArgumentException('Invalid path provided for move operation; must be a non-empty string');\n        }\n        $tmpFile = $this->getTmpFile();\n        if (null === $tmpFile) {","sourceCodeStart":54,"sourceCodeEnd":90,"githubUrl":"https://github.com/getgrav/grav/blob/6040efed04efa69b8209448ed81308e7c24147c2/system/src/Grav/Framework/Form/FormFlashFile.php#L54-L90","documentation":"Error \"No temporary file\" thrown in getgrav/grav.","triggerScenarios":"Thrown at system/src/Grav/Framework/Form/FormFlashFile.php:72 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6040efed04efa69b8209448ed81308e7c24147c2","analyzedAt":"2026-08-17T05:07:31.593Z","schemaVersion":2},"datasetVersion":"2026-08-17T09:17:11.063Z"}