Skip to content Skip to sidebar Skip to footer

Drupal Webform the Website Encountered an Unexpected Error Please Try Again Later

I had to uninstall the Webform modul. So I de-selected Webform from the modules then removed the folder.
After couple of days, tried to reinstalled it but just when I enabled the module, it immediately gave the fault:

The website encountered an unexpected error. Please endeavour over again afterward

The website is accessible and every link works, merely I am unable to re-install Webform. Please help.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jrockowitz's picture

Status: Active » Postponed (maintainer needs more info)

There is very piddling I tin can do with that error. You will have to look at Drupal's Recent log and server's PHP log.

A wild gauge is y'all might all the same have some old configuration installed like webform nodes.

Vako's picture

Thanks for the quick reply.
I tried the same method on two different domains with the aforementioned results. This is definitely a bug that needs to exist stock-still and am surprised that it hasn't come-up until now.
It's disapointing to come across Webform unable to be re-installed on the same domain multiple times!

Upon further research, apparently the same issue existed in Drupal seven.

jrockowitz's picture

If you seeing a similar issue in D7, I call back the event might be related to your web server, file system, or database.

Are yous able to replicate this issue using https://simplytest.me?

Vako's picture

I tried running update.php and it said 159 updates available simply when I tried to run it errored (please check the fastened screen captures).

The error log is as follows:

                                  TypeError: Argument i passed to Drupal\Core\Entity\EntityDefinitionUpdateManager::updateEntityType() must implement interface Drupal\Cadre\Entity\EntityTypeInterface, cypher given, called in /dwelling house/varnitec/public_html/modules/webform/includes/webform.install.inc on line 288 in Drupal\Core\Entity\EntityDefinitionUpdateManager->updateEntityType() (line 204 of /home/varnitec/public_html/core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php)  #0 /habitation/varnitec/public_html/modules/webform/includes/webform.install.inc(288): Drupal\Cadre\Entity\EntityDefinitionUpdateManager->updateEntityType(Naught) #one /abode/varnitec/public_html/modules/webform/includes/webform.install.update.inc(649): _webform_update_webform_submission_storage_schema() #ii /home/varnitec/public_html/cadre/includes/update.inc(188): webform_update_8032(Assortment) #3 /abode/varnitec/public_html/cadre/includes/batch.inc(295): update_do_one('webform', 8032, Array, Array) #iv /abode/varnitec/public_html/core/includes/batch.inc(137): _batch_process() #5 /home/varnitec/public_html/core/includes/batch.inc(93): _batch_do() #half-dozen /home/varnitec/public_html/core/modules/organisation/src/Controller/DbUpdateController.php(185): _batch_page(Object(Symfony\Component\HttpFoundation\Asking)) #seven [internal function]: Drupal\system\Controller\DbUpdateController->handle('get-go', Object(Symfony\Component\HttpFoundation\Request)) #8 /dwelling house/varnitec/public_html/core/lib/Drupal/Cadre/Update/UpdateKernel.php(115): call_user_func_array(Array, Array) #nine /home/varnitec/public_html/core/lib/Drupal/Core/Update/UpdateKernel.php(76): Drupal\Core\Update\UpdateKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request)) #10 /home/varnitec/public_html/update.php(28): Drupal\Core\Update\UpdateKernel->handle(Object(Symfony\Component\HttpFoundation\Asking)) #11 {main}              

Drupal\Core\Database\SchemaObjectExistsException: Tabular array webform already exists. in Drupal\Core\Database\Schema->createTable() (line 653 of /home/varnitec/public_html/core/lib/Drupal/Core/Database/Schema.php).

Table webform already exists might be the issue...

Webform module is now enabled after the update.php just unfortunately everytime I try to run it again keeps giving the same error!

any suggestion is appreciated.

.

Vako's picture

Well, my database is completely corrupted now subsequently I ran update.php
I was able to enable the module, but when I tried to enable the Webform Attachement option it errored out once again.
Then I tried to create a new Course and it said:

Unable to brandish this webform. Please contact the site administrator.

See 4.jpg attached.

now the module is completely malfunctioning and the website is paralyzed :(

jrockowitz's picture

What are the fault message beingness logged in /admin/reports/dblog?

Vako's picture

That'due south the report that I posted previously. Here's another i for the new webform that I tried to create and it failed:

                Detect: Trying to access assortment offset on value of blazon int in Drupal\Cadre\Return\Chemical element::holding() (line 27 of /dwelling/varnitec/public_html/cadre/lib/Drupal/Core/Render/Element.php)  #0 /home/varnitec/public_html/cadre/includes/bootstrap.inc(600): _drupal_error_handler_real(8, 'Trying to acces...', '/home/varnitec/...', 27, Assortment) #one /home/varnitec/public_html/cadre/lib/Drupal/Core/Render/Chemical element.php(27): _drupal_error_handler(viii, 'Trying to acces...', '/home/varnitec/...', 27, Array) #2 /home/varnitec/public_html/modules/webform/src/Utility/WebformElementHelper.php(249): Drupal\Core\Render\Chemical element::holding(0) #3 /dwelling/varnitec/public_html/modules/webform/src/Entity/Webform.php(1679): Drupal\webform\Utility\WebformElementHelper::getProperties(Array) #iv /home/varnitec/public_html/modules/webform/src/Entity/Webform.php(1687): Drupal\webform\Entity\Webform->initElementsRecursive(Array, 'settings', 3) #v /home/varnitec/public_html/modules/webform/src/Entity/Webform.php(1687): Drupal\webform\Entity\Webform->initElementsRecursive(Assortment, 'electronic mail', 2) #half dozen /home/varnitec/public_html/modules/webform/src/Entity/Webform.php(1687): Drupal\webform\Entity\Webform->initElementsRecursive(Array, 'handlers', 1) #7 /home/varnitec/public_html/modules/webform/src/Entity/Webform.php(1466): Drupal\webform\Entity\Webform->initElementsRecursive(Assortment) #8 /dwelling house/varnitec/public_html/modules/webform/src/Entity/Webform.php(1219): Drupal\webform\Entity\Webform->initElements() #9 /home/varnitec/public_html/modules/webform/src/Entity/Webform.php(683): Drupal\webform\Entity\Webform->getElementsDecoded() #ten /home/varnitec/public_html/modules/webform/src/WebformEntityListBuilder.php(341): Drupal\webform\Entity\Webform->isResultsDisabled() #11 /dwelling/varnitec/public_html/core/lib/Drupal/Cadre/Entity/EntityListBuilder.php(235): Drupal\webform\WebformEntityListBuilder->buildRow(Object(Drupal\webform\Entity\Webform)) #12 /home/varnitec/public_html/modules/webform/src/WebformEntityListBuilder.php(149): Drupal\Core\Entity\EntityListBuilder->render() #13 /dwelling house/varnitec/public_html/core/lib/Drupal/Cadre/Entity/Controller/EntityListController.php(23): Drupal\webform\WebformEntityListBuilder->render() #14 [internal function]: Drupal\Core\Entity\Controller\EntityListController->list('webform') #xv /home/varnitec/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #16 /home/varnitec/public_html/core/lib/Drupal/Core/Render/Renderer.php(573): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #17 /dwelling house/varnitec/public_html/core/lib/Drupal/Cadre/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Return\Renderer->executeInRenderContext(Object(Drupal\Cadre\Render\RenderContext), Object(Closure)) #18 /habitation/varnitec/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #19 /dwelling house/varnitec/public_html/vendor/symfony/http-kernel/HttpKernel.php(151): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #20 /home/varnitec/public_html/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), ane) #21 /home/varnitec/public_html/core/lib/Drupal/Cadre/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Asking), 1, true) #22 /abode/varnitec/public_html/core/lib/Drupal/Cadre/StackMiddleware/KernelPreHandle.php(47): Drupal\Cadre\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /home/varnitec/public_html/cadre/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 /home/varnitec/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #25 /home/varnitec/public_html/core/lib/Drupal/Cadre/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, truthful) #26 /home/varnitec/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #27 /home/varnitec/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Asking), one, true) #28 /dwelling house/varnitec/public_html/core/lib/Drupal/Cadre/DrupalKernel.php(708): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, truthful) #29 /home/varnitec/public_html/index.php(nineteen): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #30 {master}              

Vako's picture

Here is another set of errors:

                Operations 06/22/2020 - 23:14 	User error: "sender_mail" is an invalid return array… 06/22/2020 - 23:fourteen 	User error: "return_path" is an invalid render array… 06/22/2020 - 23:14 	User error: "reply_to" is an invalid return array primal… 06/22/2020 - 23:xiv 	User mistake: "debug" is an invalid render array key in… 06/22/2020 - 23:14 	User error: "twig" is an invalid render array primal in… 06/22/2020 - 23:14 	User error: "attachments" is an invalid render array… 06/22/2020 - 23:fourteen 	User error: "html" is an invalid render array key in… 06/22/2020 - 23:14 	User mistake: "exclude_attachments" is an invalid return… 06/22/2020 - 23:14 	User error: "exclude_empty_checkbox" is an invalid… 06/22/2020 - 23:14 	User error: "exclude_empty" is an invalid render array… 06/22/2020 - 23:fourteen 	User error: "ignore_access" is an invalid render array… 06/22/2020 - 23:fourteen 	User mistake: "body" is an invalid render array key in… 06/22/2020 - 23:xiv 	User error: "bailiwick" is an invalid return array key in… 06/22/2020 - 23:fourteen 	User mistake: "from_name" is an invalid render assortment primal… 06/22/2020 - 23:14 	User error: "from_mail" is an invalid render array key… 06/22/2020 - 23:xiv 	User error: "bcc_mail" is an invalid render assortment key… 06/22/2020 - 23:14 	User error: "cc_mail" is an invalid render array primal in… 06/22/2020 - 23:xiv 	User error: "to_mail" is an invalid render array cardinal in… 06/22/2020 - 23:14 	User mistake: "weight" is an invalid render assortment key in… 06/22/2020 - 23:14 	User error: "status" is an invalid render array key in… 06/22/2020 - 23:14 	User error: "handler_id" is an invalid render assortment key… 06/22/2020 - 23:14 	User error: "label" is an invalid render array key in… 06/22/2020 - 23:14 	User error: "id" is an invalid render array primal in… 06/22/2020 - 23:14 	User mistake: "i" is an invalid render array key in… 06/22/2020 - 23:xiv 	User error: "0" is an invalid render assortment cardinal in… 06/22/2020 - 23:14 	User fault: "token_update" is an invalid render array… 06/22/2020 - 23:14 	User error: "token_view" is an invalid render array central… 06/22/2020 - 23:14 	User mistake: "results_customize" is an invalid render… 06/22/2020 - 23:xiv 	User error: "results_disabled_ignore" is an invalid… 06/22/2020 - 23:14 	User error: "results_disabled" is an invalid return… 06/22/2020 - 23:14 	User error: "purge" is an invalid render array key in… 06/22/2020 - 23:xiv 	User error: "limit_user_unique" is an invalid render… 06/22/2020 - 23:xiv 	User error: "limit_user_message" is an invalid return… 06/22/2020 - 23:14 	User error: "limit_total_unique" is an invalid render… 06/22/2020 - 23:14 	User mistake: "limit_total_message" is an invalid render… 06/22/2020 - 23:14 	User error: "confirmation_update" is an invalid render… 06/22/2020 - 23:14 	User error: "confirmation_exclude_token" is an invalid… 06/22/2020 - 23:xiv 	User error: "confirmation_exclude_query" is an invalid… 06/22/2020 - 23:14 	User fault: "confirmation_back_label" is an invalid… 06/22/2020 - 23:fourteen 	User error: "confirmation_back" is an invalid render… 06/22/2020 - 23:14 	User mistake: "confirmation_url" is an invalid return… 06/22/2020 - 23:14 	User error: "confirmation_message" is an invalid render… 06/22/2020 - 23:fourteen 	User fault: "confirmation_title" is an invalid render… 06/22/2020 - 23:14 	User error: "confirmation_type" is an invalid render… 06/22/2020 - 23:14 	User fault: "draft_pending_multiple_message" is an… 06/22/2020 - 23:fourteen 	User error: "draft_pending_single_message" is an… 06/22/2020 - 23:fourteen 	User error: "draft_loaded_message" is an invalid render… 06/22/2020 - 23:14 	User error: "draft_saved_message" is an invalid render… 06/22/2020 - 23:xiv 	User mistake: "draft_auto_save" is an invalid render… 06/22/2020 - 23:14 	User error: "draft_multiple" is an invalid render assortment…                              

Vako's picture

In the Status report I see the post-obit errors:

                Mismatched entity and/or field definitions The following changes were detected in the entity type and field definitions.  Webform submission    The Webform submission entity type needs to be installed. Webform    	      The Webform entity type needs to exist installed. Webform options       The Webform options entity type needs to exist installed. Webform access group  The Webform access group entity type needs to be installed. Webform access type   The Webform admission type entity blazon needs to be installed.              

jrockowitz's picture

Vako's picture

Category: Back up request » Issues written report

I have restored the site to June 19th only all the same unable to re-install Webform, even after repairing the database.
I believe this is a problems, therefore am willing to provide my website credentials then yous and other developers tin take a wait and find a solution.
The site is still new and I don't mind if things are changed or more than corruption occurs. Just want this bug fixed so others will not accept like
issues.
If the developers are interested to look into this issue, send me a private message and I will send the credentials.

Vako's picture

Category: Bug report » Support request
Status: Postponed (maintainer needs more info) » Closed (works as designed)

I tried it on a plain fresh installation of D8 and was only reproducable if I remove the webform folder without properly uninstalling information technology, which is not the correct way of removing a module. But note that information technology's rendering the whole site inaccessible. Probably it'south not a webform event but a Drupal core issue.
And so permit's ignore it for now.

Thank you Jason for all the help.

maldonadoouction1987.blogspot.com

Source: https://www.drupal.org/project/webform/issues/3153697

Post a Comment for "Drupal Webform the Website Encountered an Unexpected Error Please Try Again Later"