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

CommentFileSizeAuthor
#2 3041715.patch1.05 KBshubhangi1995

Comments

shubhangi1995 created an issue. See original summary.

shubhangi1995’s picture

StatusFileSize
new1.05 KB
shubhangi1995’s picture

Issue summary: View changes
jrockowitz’s picture

Status: Active » Postponed (maintainer needs more info)

I 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

jrockowitz’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
shubhangi1995’s picture

well thanks jrockowits
i did a simple drush webform repair and it started working and added few conditionals to make sure null is never assigned