pdir/contao-survey

Error message whilst exporting TANS from the backend

Closed this issue · 0 comments

Bug description

[2023-07-31T16:33:42.435512+02:00] request.CRITICAL: Uncaught PHP Exception TypeError: "utf8_decode(): Argument #1 ($string) must be of type string, int given" at /html/contao413/vendor/pdir/contao-survey/src/Export/CSVExporter.php line 56 {"exception":"[object] (TypeError(code: 0): utf8_decode(): Argument #1 ($string) must be of type string, int given at /html/contao413/vendor/pdir/contao-survey/src/Export/CSVExporter.php:56)"} []

Steps to reproduce

Choose a survey.
Click on "TAN-Codes exportieren".
Choose a page for the TAN-Path.
Click on "Exportieren".

Expected behavior

Export of TAN-Codes, as a CSV?

Environment

PHP 8.2.5
Contao 4.13.28
contao-survey 3.5.0