Hi, I am getting a white screen when attempting to activate the module.

when I check the dblogs I receive

Recoverable fatal error: Argument 1 passed to Drupal\email_verify\Form\EmailVerifyAdminForm::__construct() must be an instance of Drupal\email_verify\EmailVerifyManagerInterface, instance of Drupal\email_verify\EmailVerifyManager given, called in /home/client/public_html/modules/email_verify/src/Form/EmailVerifyAdminForm.php on line 44 and defined in Drupal\email_verify\Form\EmailVerifyAdminForm->__construct() (line 34 of /home/client/public_html/modules/email_verify/src/Form/EmailVerifyAdminForm.php) #0 /home/client/public_html/core/includes/bootstrap.inc(552): _drupal_error_handler_real(4096, 'Argument 1 pass...', '/home/client/...', 34, Array) #1 /home/client/public_html/modules/email_verify/src/Form/EmailVerifyAdminForm.php(34): _drupal_error_handler(4096, 'Argument 1 pass...', '/home/client/...', 34, Array) #2 /home/client/public_html/modules/email_verify/src/Form/EmailVerifyAdminForm.php(44): Drupal\email_verify\Form\EmailVerifyAdminForm->__construct(Object(Drupal\email_verify\EmailVerifyManager)) #3 /home/client/public_html/core/lib/Drupal/Core/DependencyInjection/ClassResolver.php(28): Drupal\email_verify\Form\EmailVerifyAdminForm::create(Object(Drupal\Core\DependencyInjection\Container)) #4 /home/client/public_html/core/lib/Drupal/Core/Controller/HtmlFormController.php(47): Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition('\\Drupal\\email_v...') #5 /home/client/public_html/core/lib/Drupal/Core/Controller/FormController.php(59): Drupal\Core\Controller\HtmlFormController->getFormObject(Object(Drupal\Core\Routing\RouteMatch), '\\Drupal\\email_v...') #6 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch)) #7 /home/client/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #8 /home/client/public_html/core/lib/Drupal/Core/Render/Renderer.php(574): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #9 /home/client/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #10 /home/client/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #11 [internal function]: Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #12 /home/client/public_html/vendor/symfony/http-kernel/HttpKernel.php(144): call_user_func_array(Object(Closure), Array) #13 /home/client/public_html/vendor/symfony/http-kernel/HttpKernel.php(64): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #14 /home/client/public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /home/client/public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #16 /home/client/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(99): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #17 /home/client/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(78): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #18 /home/client/public_html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /home/client/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(50): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /home/client/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /home/client/public_html/core/lib/Drupal/Core/DrupalKernel.php(656): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /home/client/public_html/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #23 {main}.

Comments

amh5514 created an issue. See original summary.

aadil.addweb’s picture

Status: Active » Needs review
StatusFileSize
new944 bytes

Please apply can_not_activate_module-2872833-2.patch for your purpose.

SteveMushynsky’s picture

I concur. installed module. unable to activate. Unusable. Perhaps the patch posted here could be integrated into this module?

amh5514’s picture

I received the same WSOD error and the patch worked for me.

emartoni’s picture

StatusFileSize
new95.33 KB
new76.6 KB

Hi all!

Just enable the module without the attached patch and works as designed.
Do we need this patch?

Attached screenshots as evidence.

Best,
Eduardo