Settings form generates error when webprofiler is active:

The website encountered an unexpected error. Please try again later.
TypeError: Argument 1 passed to Drupal\media_pdf_thumbnail\Form\SettingsForm::__construct() must be an instance of Drupal\Core\Entity\EntityTypeManager, instance of Drupal\webprofiler\Entity\EntityManagerWrapper given, called in /app/web/modules/contrib/media_pdf_thumbnail/src/Form/SettingsForm.php on line 38 in Drupal\media_pdf_thumbnail\Form\SettingsForm->__construct() (line 27 of modules/contrib/media_pdf_thumbnail/src/Form/SettingsForm.php). 

Replacing the used EntityTypeManager with EntityTypeManagerInterface solved the issue for me.

CommentFileSizeAuthor
#2 media_pdf_thumbnail-3105762.patch1.12 KBjohankleene

Comments

JohanKleene created an issue. See original summary.

johankleene’s picture

StatusFileSize
new1.12 KB
sgostanyan’s picture

Status: Active » Fixed
sgostanyan’s picture

Status: Fixed » Closed (fixed)