Closed (fixed)
Project:
Webform
Version:
8.x-5.0-beta19
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2017 at 08:57 UTC
Updated:
22 Nov 2020 at 23:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jrockowitz commented@Thinkingbox-Tien Welcome to the Drupal Community
I wanted the say "Hello" and encourage you to learn more about...
Watch video about helping us help you
Comment #3
jrockowitz commentedMy best guess is that your 'webform.settings.yml' configuration file is missing its 'settings' array.
The attached patch addresses the error but I think there might be other issues with your installation.
Without the patch applied, you should try running the`drush webform-repair` command, which will fix most configuration issue.
Comment #4
Thinkingbox-Tien commentedThank you! 'drush webform-repair' worked without the patch :)
Comment #5
jrockowitz commented@Thinkingbox-Tien I am glad to hear `drush webform-repair` worked.
It is possible that you need to review your workflow because your webform.settings.yml should have been updated via a webform update hook. Make sure to run all the updates and then re-export your configuration.
Comment #6
Thinkingbox-Tien commentedIndeed. We ran into some troubles with our workflow which caused for a number of things to happen :)
Comment #8
alexrayu commentedHad the same issue. 'drush webform-repair' helped. Thanks!
Comment #9
ntsekov commentedI updated a patch for webform version 8.x-5.0-rc1
Comment #10
mariiadeny commentedHave similar issue:
Argument 4 passed to Drupal\webform\EntitySettings\WebformEntitySettingsBaseForm::appendBehaviors() must be of the type array
Comment #11
silvesterde commented"My best guess is that your 'webform.settings.yml' configuration file is missing its 'settings' array."
How can that be "missing"? I didn't take it out.
Comment #12
jrockowitz commented#2913548: Source element values are replaced with translated values will corrupt/remove the settings configuration.
Comment #13
gxleano commentedDrupal version: 8.7.2
i got The TypeError:
Argument 2 passed to Drupal\webform\EntitySettings\WebformEntitySettingsBaseForm::appendDefaultValueToElementDescriptions() must be
of the type array...
'drush webform-repair' command worked for me, I didn't need the patch.
Comment #14
rar9 commentednot working for D9.x
Comment #15
jrockowitz commentedDid you run 'drush webform-repair'?
Comment #16
rar9 commentedyes Patch wont apply and the drush repair is not helping.
Comment #17
jrockowitz commentedDoes the webform.settings configuration file exists?
/admin/config/development/configuration/single/export/system.simple/webform.settings
Comment #18
rar9 commentedYes
Comment #19
jrockowitz commentedI can't reproduce this issue. Please try reproducing this issue via https://simplytest.me.
What version of PHP are you using?
Comment #20
rar9 commentedPhp7.4.x
I also use webform civicrm
Comment #21
jrockowitz commentedI have PHP 7.4 installed but I really need detailed steps on how to reproduce this issue.