Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question type "Matrixfrage": Using the checkbox "Fragentitel nicht anzeigen" leads to an error #58

Closed
marcuslelle opened this issue Sep 12, 2023 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@marcuslelle
Copy link

Bug description

When using the question type "Matrixfrage" you cannot use the checkbox "Fragentitel nicht anzeigen".

It leads to an error:
request.CRITICAL: Uncaught PHP Exception TypeError: "strlen(): Argument #1 ($string) must be of type string, int given" at /html/contao413/vendor/pdir/contao-survey/src/Resources/contao/forms/FormQuestionWidget.php line 184 {"exception":"[object] (TypeError(code: 0): strlen(): Argument #1 ($string) must be of type string, int given at /html/contao413/vendor/pdir/contao-survey/src/Resources/contao/forms/FormQuestionWidget.php:184)"} []

Other question types are working when the checkbox is ticked.

Steps to reproduce

s. above

Expected behavior

One can use "Fragentitel nicht anzeigen".

Screenshots

Bildschirmfoto 2023-09-12 um 12 18 25

Environment

MacOS 13.4.1
PHP 8.2.5
Contao 4.13.30
Firefox 116.0.3

@marcuslelle marcuslelle added the bug Something isn't working label Sep 12, 2023
cmette pushed a commit that referenced this issue Sep 12, 2023
MDevster added a commit that referenced this issue Sep 12, 2023
@MDevster MDevster added this to the 3.6.0 milestone Sep 14, 2023
@fritzmg
Copy link

fritzmg commented Jul 4, 2024

This has been fixed in dcd2966 (but hasn't been tagged in a release yet).

@MDevster MDevster closed this as completed Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants