@cilefen: i've edited the issue to be about the issue with strlen. Thanks for the advice! Hopefully there is a fix soon!
That issue is about the strpos() error. The one that i have left now is the strlen() error...
@cilefen should i create a new issue for the "strlen" error? Because the fix for the "strpos" error is already created in this issue i think:
https://www.drupal.org/project/webform/issues/3345964
🐛
Conditionally hidden text format field results in errors and wsod
Fixed
Sorry i'm new to this... What should i review? Or how can i test your solution?
Thanks cilefen! I created a small sample form which reproduces the error!
I think it's caused by the "preview" of the form. Because when i disable the preview, it works perfectly!
So in Sample page 1 choose "option 2", in sample page 2 also option 2 and press "preview" in sample page 3.
Form attached!
Thanks for your answer @cilifen!
The Yaml file i uploaded is the form which causes the problem. If you fill it out until the end, you get the error.
Or do you mean something else?
At times when the above error is not thrown (i don't know why/when) then an other error appears:
TypeError: strlen(): Argument #1 ($string) must be of type string, array given in strlen(). I've added the error stack of this too in attachment (error-stack-2).
Any help would be very appreciated!
timbraeckman → created an issue.