thephpleague/flysystem · error · UnableToGeneratePublicUrl
No supported public url generator found.
Error message
No supported public url generator found.
What it means
Error "No supported public url generator found." thrown in thephpleague/flysystem.
Source
Thrown at src/UrlGeneration/ChainedPublicUrlGenerator.php:28
final class ChainedPublicUrlGenerator implements PublicUrlGenerator
{
/**
* @param PublicUrlGenerator[] $generators
*/
public function __construct(private iterable $generators)
{
}
public function publicUrl(string $path, Config $config): string
{
foreach ($this->generators as $generator) {
try {
return $generator->publicUrl($path, $config);
} catch (UnableToGeneratePublicUrl) {
}
}
throw new UnableToGeneratePublicUrl('No supported public url generator found.', $path);
}
}
View on GitHub (pinned to b277b5dc3d)
When it happens
Trigger: Thrown at src/UrlGeneration/ChainedPublicUrlGenerator.php:28 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of thephpleague/flysystem@b277b5dc3d (2026-08-17).
Data as JSON: /api/errors/ab3102bc4aaf202c.
Report an issue: GitHub.