dear all,
module and core version:
webform version - 8.x-5.1
drupal version - 8.6.10
webform_ui module was disabled
error : Error: Unsupported operand types in Drupal\webform\Form\WebformResultsExportForm->buildForm() (line 57 of /opt/init/vz_nrw/versions/release-3424/profiles/vznrw/modules/contrib/webform/src/Form/WebformResultsExportForm.php) #0 [internal function]: Drupal\webform\Form\WebformResultsExportForm->buildForm(Array, Object(Drupal\Core\Form\FormState), Object(Drupal\webform\Entity\Webform))
steps to reproduce the bug:
1) enable the webform
2) create a webform do not add any field
3) go to results -> download
Fatal error
Comments
Comment #2
shubhangi1995Comment #3
shubhangi1995Comment #4
jrockowitz commentedI am not able to replicate this issue.
If
$this->config('webform.settings')->get('export')is not returning anything, there is something wrong with your webform.settings.yml. I would recommend examining this file and checking for the export property.You can also try repairing your installation via /admin/structure/webform/config/advanced
Comment #5
jrockowitz commentedComment #6
shubhangi1995well thanks jrockowits
i did a simple drush webform repair and it started working and added few conditionals to make sure null is never assigned