When i add the "Automatically correct orientation" style on images, I get this error on the site:

Error: Class 'lsolesen\pel\PelJpeg' not found in Drupal\file_mdm_exif\Plugin\FileMetadata\Exif->getFile() (line 108 of modules\contrib\file_mdm\file_mdm_exif\src\Plugin\FileMetadata\Exif.php).

This this a bad installation ? A bug ? Any idea ?

Comments

simon_ducloux created an issue. See original summary.

mondrake’s picture

Most likely, an indication that a module was not installed using composer, but directly from a tarball.

The way to install is typing

composer require drupal/image_effects:^2

from the Drupal root.

Raman Starshykh’s picture

Issue tags: +epam-contrib-2019.03
linichalexey’s picture

Issue tags: -epam-contrib-2019.03
mondrake’s picture

Status: Active » Closed (works as designed)