Broken in Drupal 10.2.1

Created on 16 January 2024, 11 months ago
Updated 17 January 2024, 11 months ago

It seems that it is not compatible with version 10.2.1 of drupal core.

You get the following error:

 [warning] Undefined property: Drupal\flysystem\Asset\JsCollectionOptimizer::$state JsCollectionOptimizer.php:20
   [error]  Error: Call to a member function delete() on null in Drupal\flysystem\Asset\JsCollectionOptimizer->deleteAll() (line 20 of /var/www/cms/d
  ocroot/profiles/ok/modules/contrib/flysystem/src/Asset/JsCollectionOptimizer.php) #0 /var/www/cms/docroot/core/includes/common.inc(450): Drupal\flysystem\Asset\JsCollectionOptimi
  zer->deleteAll()

This was also reported on the closed ticket.

https://www.drupal.org/project/flysystem/issues/3376399#comment-15342067 📌 Support new lazy asset collection optimizers & deprecate the serve_* options Needs review

This (and the non-lazy) is broken in Drupal 10.2 https://www.drupal.org/project/drupal/issues/3301573 📌 Remove the aggregate stale file threshold and state entry Fixed
They have removed the state property https://git.drupalcode.org/project/drupal/-/commit/405f8b33a7d0643ba39bf...

I'm getting


PHP Fatal error: Uncaught Error: Call to a member function delete() on null in ./public/modules/contrib/flysystem/src/Asset/CssCollectionOptimizer.php on line 20
🐛 Bug report
Status

Closed: works as designed

Version

2.2

Component

Code

Created by

🇪🇸Spain luigisa Olloki Valley

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024