ErrorException(code: 0): preg_match() expects parameter 2 to be string, array given at vendor/intervention/validation/src/Intervention/Validation/Validator.php:322
If the data supplied is an array instead of a string, you get this error. Ideally, it should return false instead, if the data is not a string.
ErrorException(code: 0): preg_match() expects parameter 2 to be string, array given at vendor/intervention/validation/src/Intervention/Validation/Validator.php:322
If the data supplied is an array instead of a string, you get this error. Ideally, it should return false instead, if the data is not a string.