When I try to go to the Structure > Webforms > Settings and Webforms I am getting the following error. I tried the $ drush webform-repair
command, but that doesn't work. My Drupal version is 8.6.4.
The website encountered an unexpected error. Please try again later. TypeError: Argument 4 passed to Drupal\webform\EntitySettings\WebformEntitySettingsBaseForm::appendBehaviors() must be of the type array, null given, called in /Applications/MAMP/htdocs/ubci+webform/modules/webform/src/EntitySettings/WebformEntitySettingsGeneralForm.php on line 274 in Drupal\webform\EntitySettings\WebformEntitySettingsBaseForm->appendBehaviors() (line 104 of modules/webform/src/EntitySettings/WebformEntitySettingsBaseForm.php).
And I am getting another error when I try to download the results on Webforms > Download.
The website encountered an unexpected error. Please try again later. Error: Unsupported operand types in Drupal\webform\Form\WebformResultsExportForm->buildForm() (line 57 of modules/webform/src/Form/WebformResultsExportForm.php). Drupal\webform\Form\WebformResultsExportForm->buildForm(Array, Object, Object)