Closed (fixed)
Project:
Flysystem
Version:
2.2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2025 at 12:16 UTC
Updated:
13 Feb 2025 at 13:04 UTC
Jump to comment: Most recent
Hi,
When upgrading my site via composer, this occurred:
Upgrading codementality/flysystem-stream-wrapper (v1.1.0 => v1.1.1)
Immediatly after my site started crashing out with this error:
Class "Codementality\FlysystemStreamWrapper" not found
Downgrading codementality/flysystem-stream-wrapper to 1.1.0 solved the issue.
I could be doing something wrong, but I am seeing a bunch of changes between 1.1.0 and 1.1.1 for that class name:

I think the changes here that Lisa Ridley did (hi Lisa, it's Dan!) need to be applied to the 2.2 version.
https://git.drupalcode.org/project/flysystem/-/commit/de4fbf4690661af0d7...
I have included a patch that works for me.
| Comment | File | Size | Author |
|---|---|---|---|
| flysystem.patch | 1.24 KB | duckydan | |
| Screenshot 2025-01-28 at 6.47.16 AM.png | 1.71 MB | duckydan |
Comments
Comment #2
joecorall commentedHad the same issue here after a composer update to
2.2.0-beta1. Applied the patch in this PR and the issue is resolved.Comment #4
lisa.rae commentedThank you both for catching that! I made the change on the 2.3.x branch but forgot to backport it to the 2.2.x branch. I've committed the change on the 2.2.x-dev branch now, and I'll cut a bugfix release later today.
Comment #5
lisa.rae commented