on /admin/config/system/mimemail

with both mimemail and webprofiler enable I got this error :

TypeError: Argument 2 passed to Drupal\mimemail\Form\AdminForm::__construct() must be an instance of Drupal\mailsystem\MailsystemManager, instance of Drupal\webprofiler\Mail\MailManagerWrapper given, called in /media/vhosts/mespronos.net/web/modules/contrib/mimemail/src/Form/AdminForm.php on line 59 in Drupal\mimemail\Form\AdminForm->__construct() (line 44 of modules/contrib/mimemail/src/Form/AdminForm.php).

Ubuntu 16.04, PHP 7, Mysql 5.7

Comments

Kgaut created an issue. See original summary.

kgaut’s picture

kgaut’s picture

dietr_ch’s picture

Status: Active » Reviewed & tested by the community

Patch works.

  • sgabe committed c2b4ba6 on 8.x-1.x authored by Kgaut
    Issue #2719981 by Kgaut: TypeError when using Web Profiler
    
sgabe’s picture

Title: Using webprofiler combined to mime mail give critical error » TypeError when using Web Profiler
Status: Reviewed & tested by the community » Fixed

Committed, thanks!

  • sgabe committed 654f3d0 on 8.x-1.x
    Issue #2719981 by Kgaut, dietr_ch: TypeError when using Web Profiler
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.