You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm aware the Craft 2 version is unlikely to be updated, but a warning for anyone else who may come across this. Since PHP 7.3 preg_quote() will quote the # character which breaks the phone field validation in Sprout Fields, because it adds a backslash before each # and turns the regex into this:
Description
I'm aware the Craft 2 version is unlikely to be updated, but a warning for anyone else who may come across this. Since PHP 7.3
preg_quote()
will quote the#
character which breaks the phone field validation in Sprout Fields, because it adds a backslash before each # and turns the regex into this:You will get the following error:
This is because the regex has been manipulated in a way which is not expected, because the
#
character did not behave like this previously.https://www.php.net/manual/en/function.preg-quote.php
Below PHP 7.3 you won't see the problem.
The text was updated successfully, but these errors were encountered: