- Issue created by @britt.vanderlinden
Error: Class "Drupal\Core\File\FileExists" not found in Drupal\image_style_on_upload\Utility\ImageStyleApplier->apply() (line 109 of /app/cms/web/modules/contrib/image_style_on_upload/src/Utility/ImageStyleApplier.php).
On drupal version 10.2.12
Change if ($this->fileSystem->move($derived_uri, $file->getFileUri(), FileExists::Replace) === FALSE) {
To if ($this->fileSystem->move($derived_uri, $file->getFileUri(), $this->fileSystem::EXISTS_REPLACE) === FALSE) {
Needs review
1.1
Code