TypeError: strlen(): Argument #1 ($string) must be of type string, array given in strlen()

Created on 9 May 2023, over 1 year ago
Updated 25 May 2023, over 1 year ago

Problem/Motivation

My webform worked perfectly until our server was upgraded to PHP 8 (before was 7.4). Now i get this error in a multistep webform and the webform cannot be submitted.

Steps to reproduce

I attached the full error stack + export of my webform so it can be easily reproduced. Just fill out the form until the last step and you will see/find the error along the way. As soon as i disable the "Preview" function of my webform, the error goes away.

🐛 Bug report
Status

Fixed

Version

6.2

Component

Code

Created by

🇧🇪Belgium timbraeckman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024