When upgrading to PHP8.0 I get this error when loading a CF7-form:
Warning: Array to string conversion in /storage/content/25/4000325/biljett.rojteatern.nu/public_html/administrator/components/com_chronoforms7/chronoforms/helpers/field.php on line 115
Not visible with PHP7.4
The update to CF7.0.10 doesn't make any difference.
Regards
Dennis
Warning: Array to string conversion in /storage/content/25/4000325/biljett.rojteatern.nu/public_html/administrator/components/com_chronoforms7/chronoforms/helpers/field.php on line 115
Not visible with PHP7.4
The update to CF7.0.10 doesn't make any difference.
Regards
Dennis
By suggestion from https://www.chronoengine.com/users/profile/115455 (Colnem) I altered the line 115 in "/administrator/components/com_chronoforms7/chronoforms/helpers/field.php" from "$value = str_replace('#'.$loop_name, $loop_index, $value);" to "if (is_string($value)) $value = str_replace('#'.$loop_name, $loop_index, $value);".
Problem Solved!
Thanks!
Problem Solved!
Thanks!
Hi Max,
I hope ths issue wil be adressed as well in the coming update of CF7.
//Dennis
I hope ths issue wil be adressed as well in the coming update of CF7.
//Dennis
