When I go configuration->mime mail to get to the settings page there is a crash report from Drupal 8. The error is provided below.
Recoverable fatal error: Argument 2 passed to Drupal\mimemail\Form\AdminForm::__construct() must be an instance of Drupal\mimemail\Form\MailManagerInterface, instance of Drupal\mailsystem\MailsystemManager given, called in /home/gtgt1226/public_html/modules/mimemail/src/Form/AdminForm.php on line 55 and defined in Drupal\mimemail\Form\AdminForm->__construct() (line 39 of /home/gtgt1226/public_html/modules/mimemail/src/Form/AdminForm.php) #0 /home/gtgt1226/public_html/core/includes/bootstrap.inc(548): _drupal_error_handler_real(4096, 'Argument 2 pass...', '/home/gtgt1226/...', 39, Array) #1 /home/gtgt1226/public_html/modules/mimemail/src/Form/AdminForm.php(39): _drupal_error_handler(4096, 'Argument 2 pass...', '/home/gtgt1226/...', 39, Array) #2 /home/gtgt1226/public_html/modules/mimemail/src/Form/AdminForm.php(55): Drupal\mimemail\Form\AdminForm->__construct(Object(Drupal\Core\Config\ConfigFactory), Object(Drupal\mailsystem\MailsystemManager), Object(Drupal\Core\Extension\ModuleHandler), Object(Drupal\Core\Extension\ThemeHandler)) #3 /home/gtgt1226/public_html/core/lib/Drupal/Core/DependencyInjection/ClassResolver.php(28): Drupal\mimemail\Form\AdminForm::create(Object(Drupal\Core\DependencyInjection\Container)) #4 /home/gtgt1226/public_html/core/lib/Drupal/Core/Controller/HtmlFormController.php(47): Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition('Drupal\\mimemail...') #5 /home/gtgt1226/public_html/core/lib/Drupal/Core/Controller/FormController.php(59): Drupal\Core\Controller\HtmlFormController->getFormObject(Object(Drupal\Core\Routing\RouteMatch), 'Drupal\\mimemail...') #6 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch)) #7 /home/gtgt1226/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #8 /home/gtgt1226/public_html/core/lib/Drupal/Core/Render/Renderer.php(574): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #9 /home/gtgt1226/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #10
Comments
Comment #2
bkhandruk CreditAttribution: bkhandruk commentedDidn't get the same error. Some steps to reproduce would be helpful.
Comment #3
DamienMcKennaI'm also unable to reproduce this with the current 1.0-alpha1.
Comment #4
TR CreditAttribution: TR commentedThis was probably fixed by #2719981: TypeError when using Web Profiler and that fix was included in the alpha1 release. Perhaps your version of Mime Mail wasn't in sync with your version of Mailsystem. Or perhaps your cache needed to be flushed after the fix. Regardless, this does not seem to be a problem anymore.