You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeError in GlideManager after upgrading to 6.43 when published assets.php lacks image_manipulation.permissions #15986
After upgrading from v6.42.0 to v6.43.0, the application fails to boot (any HTTP request and any artisan command) with:
League\Flysystem\UnixVisibility\PortableVisibilityConverter::__construct(): Argument #1 ($filePublic) must be of type int, false given, called in vendor/league/flysystem/src/UnixVisibility/PortableVisibilityConverter.php on line 71
The new GlideManager::localCacheFilesystem() reads the new statamic.assets.image_manipulation.permissions.file / .directory config keys via Statamic\Facades\Config::get():
Statamic merges its config with mergeConfigFrom(), which is shallow. Any app with a previously published config/statamic/assets.php overrides the whole image_manipulation array, so the new permissions key from the package config is never present.
Statamic\Config::get() defaults to false rather than null (public function get($key, $default = false)).
So false is passed to PortableVisibilityConverter::fromArray(). Flysystem's fallback ($permissionMap['file']['public'] ?? 0644) only handles null, so false goes straight to the int-typed constructor and throws.
How to reproduce
Have a config/statamic/assets.php published before v6.43 (i.e. its image_manipulation array has no permissions key), with image_manipulation.cache set to false (the default local cache filesystem).
Upgrade statamic/cms to v6.43.0.
Run any artisan command, e.g. php artisan config:show statamic.assets.
Activity
robdekort commentedon Nov 21, 2026
Ah yeah, I found the most recent update breaks all images on older sites. Thanks for reporting and creating a PR.