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:

Class error in flysystem

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.

Comments

duckydan created an issue. See original summary.

joecorall’s picture

Status: Active » Reviewed & tested by the community

Had the same issue here after a composer update to 2.2.0-beta1. Applied the patch in this PR and the issue is resolved.

  • lhridley committed 1327f1ba on 2.2.x
    Issue #3502794 by duckydan, joecorall, lhridley: Class "Codementality\...
lisa.rae’s picture

Thank 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.

lisa.rae’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.