EE4 - errors when saving Low variables text input field
EE4.0.3
Low variables 3.1.0
PHP 7.1.11
Error message:
Warning
preg_match(): Delimiter must not be alphanumeric or backslash
user/addons/low_variables/types/low_text_input/vt.low_text_input.php, line 144
Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)
ee/legacy/core/Input.php, line 233
Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)
ee/legacy/libraries/Functions.php, line 392
Severity: E_WARNING
When an LV group does not have Text inputs there are no error messages.
Replies
Low 18 Dec 2017 10:27
Looks like for one of your Text Input fields you've entered an invalid regular expression to validate the content of the field. Check the pattern for that var.
Rob (Bluedreamer) 18 Dec 2017 11:50
I'm not using regular expressions but you're right, one field had some accidental characters in there.
Fixed, thanks.