Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EmailValidator not found #65

Open
Rhodderz opened this issue Mar 8, 2019 · 0 comments
Open

EmailValidator not found #65

Rhodderz opened this issue Mar 8, 2019 · 0 comments

Comments

@Rhodderz
Copy link

Rhodderz commented Mar 8, 2019

I have a brand clean new installation of Drupal8 on Centos 7 running with php7 and apache (it complained 5.6 was being deprecated this month)
Installation of the cloudflare modules (as based on the https://www.drupal.org/project/cloudflare page).
Problem is when i go to the settings page im given "The website encountered an unexpected error. Please try again later." and the below error in the error_log.

I am new to Drupal, installing the module to get familiar with it and help a friend. From what i can see EmailValidator is installed.

I can dump my composer show if this helps.

Error: Class 'Drupal\\Component\\Utility\\EmailValidator' not found in /var/www/html/drupal/modules/cloudflare/src/Form/SettingsForm.php on line 92 #0 /var/www/html/drupal/core/lib/Drupal/Core/DependencyInjection/ClassResolver.php(28): Drupal\\cloudflare\\Form\\SettingsForm::create(Object(Drupal\\Core\\DependencyInjection\\Container))\n#1 /var/www/html/drupal/modules/ctools/src/Wizard/FormWizardBase.php(238): Drupal\\Core\\DependencyInjection\\ClassResolver->getInstanceFromDefinition('Drupal\\\\cloudfla...')\n#2 /var/www/html/drupal/core/lib/Drupal/Core/Form/FormBuilder.php(202): Drupal\\ctools\\Wizard\\FormWizardBase->getFormId()\n#3 /var/www/html/drupal/core/lib/Drupal/Core/Form/FormBuilder.php(224): Drupal\\Core\\Form\\FormBuilder->getFormId(Object(Drupal\\cloudflare\\Wizard\\ConfigWizard), Object(Drupal\\Core\\Form\\FormState))\n#4 /var/www/html/drupal/modules/ctools/src/Wizard/WizardFactory.php(54): Drupal\\Core\\Form\\FormBuilder->buildForm(Object(Drupal\\cloudflare\\Wizard\\ConfigWizard), Object(Drupal\\Core\\Form\\FormState))\n#5 /var/www/html/drupal/modules/ctools/src/Controller/WizardFormController.php(78): Drupal\\ctools\\Wizard\\WizardFactory->getWizardForm(Object(Drupal\\cloudflare\\Wizard\\ConfigWizard), Array, false)\n#6 [internal function]: Drupal\\ctools\\Controller\\WizardFormController->getContentResult(Object(Symfony\\Component\\HttpFoundation\\Request), Object(Drupal\\Core\\Routing\\RouteMatch))\n#7 /var/www/html/drupal/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)\n#8 /var/www/html/drupal/core/lib/Drupal/Core/Render/Renderer.php(582): Drupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->Drupal\\Core\\EventSubscriber\\{closure}()\n#9 /var/www/html/drupal/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\\Core\\Render\\Renderer->executeInRenderContext(Object(Drupal\\Core\\Render\\RenderContext), Object(Closure))\n#10 /var/www/html/drupal/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)\n#11 /var/www/html/drupal/vendor/symfony/http-kernel/HttpKernel.php(151): Drupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->Drupal\\Core\\EventSubscriber\\{closure}()\n#12 /var/www/html/drupal/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#13 /var/www/html/drupal/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#14 /var/www/html/drupal/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\\Core\\StackMiddleware\\Session->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#15 /var/www/html/drupal/core/modules/page_cache/src/StackMiddleware/PageCache.php(99): Drupal\\Core\\StackMiddleware\\KernelPreHandle->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#16 /var/www/html/drupal/core/modules/page_cache/src/StackMiddleware/PageCache.php(78): Drupal\\page_cache\\StackMiddleware\\PageCache->pass(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#17 /var/www/html/drupal/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\\page_cache\\StackMiddleware\\PageCache->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#18 /var/www/html/drupal/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\\Core\\StackMiddleware\\ReverseProxyMiddleware->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#19 /var/www/html/drupal/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\\Core\\StackMiddleware\\NegotiationMiddleware->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#20 /var/www/html/drupal/core/lib/Drupal/Core/DrupalKernel.php(693): Stack\\StackedHttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#21 /var/www/html/drupal/index.php(19): Drupal\\Core\\DrupalKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#22 {main}, referer:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant