Hello again,

Problem/Motivation

When activating the cloud module on Drupal 10.6+ or Drupal 11, the following fatal error occurs:

Fatal error: Type of Drupal\cloud\Plugin\Field\FieldFormatter\CloudImageFormatter::$fileUrlGenerator must be Drupal\Core\File\FileUrlGeneratorInterface (as in class Drupal\image\Plugin\Field\FieldFormatter\ImageFormatter) in /var/www/html/web/modules/contrib/cloud/src/Plugin/Field/FieldFormatter/CloudImageFormatter.php on line 33

Steps to reproduce

  1. Install Drupal 10.6+ or Drupal 11
  2. Install the cloud module with composer
  3. Attempt to activate the cloud module via the Extend page or Drush (drush en cloud)
  4. Observe the fatal error

What needs to be done?

Best,
Orkut

Issue fork cloud-3608425

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

orkutmuratyilmaz created an issue. See original summary.

orkutmuratyilmaz’s picture

Status: Active » Needs review
StatusFileSize
new4.5 KB

I've also created a patch file too.

orkutmuratyilmaz’s picture

Assigned: Unassigned » orkutmuratyilmaz
Status: Needs review » Needs work