{"record":{"id":"f2e0b041895f0ff3","repo":"thephpleague/flysystem","slug":"s-does-not-support-generating-public-urls","errorCode":null,"errorMessage":"%s does not support generating public urls.","messagePattern":"(.+?) does not support generating public urls\\.","errorType":"exception","errorClass":"UnableToGeneratePublicUrl","httpStatus":null,"severity":"error","filePath":"src/MountManager.php","lineNumber":291,"sourceCode":"            $config,\n        ) : $this->copyAcrossFilesystem(\n            $sourceFilesystem,\n            $sourcePath,\n            $destinationFilesystem,\n            $destinationPath,\n            $source,\n            $destination,\n            $config,\n        );\n    }\n\n    public function publicUrl(string $path, array $config = []): string\n    {\n        /** @var FilesystemOperator $filesystem */\n        [$filesystem, $path] = $this->determineFilesystemAndPath($path);\n\n        if ( ! method_exists($filesystem, 'publicUrl')) {\n            throw new UnableToGeneratePublicUrl(sprintf('%s does not support generating public urls.', $filesystem::class), $path);\n        }\n\n        return $filesystem->publicUrl($path, $config);\n    }\n\n    public function temporaryUrl(string $path, DateTimeInterface $expiresAt, array $config = []): string\n    {\n        /** @var FilesystemOperator $filesystem */\n        [$filesystem, $path] = $this->determineFilesystemAndPath($path);\n\n        if ( ! method_exists($filesystem, 'temporaryUrl')) {\n            throw new UnableToGenerateTemporaryUrl(sprintf('%s does not support generating public urls.', $filesystem::class), $path);\n        }\n\n        return $filesystem->temporaryUrl($path, $expiresAt, $this->config->extend($config)->toArray());\n    }\n\n    public function checksum(string $path, array $config = []): string","sourceCodeStart":273,"sourceCodeEnd":309,"githubUrl":"https://github.com/thephpleague/flysystem/blob/b277b5dc3d56650b68904117124e79c851e12376/src/MountManager.php#L273-L309","documentation":"Error \"%s does not support generating public urls.\" thrown in thephpleague/flysystem.","triggerScenarios":"Thrown at src/MountManager.php:291 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":"b277b5dc3d56650b68904117124e79c851e12376","analyzedAt":"2026-08-17T04:28:35.741Z","schemaVersion":2},"datasetVersion":"2026-08-17T09:17:11.063Z"}