Closed petersontubini closed 6 years ago
You can't use count() on PHP strings because they don't implement Countable, you must use strlen or it'll throw an exception.
count()
strlen
private function fieldIsMissing($field) { return $field == null || count($field) == 0; }
@petersontubini - Thank you for bringing this to our attention. This has been fixed in commit 3a99142e5eda2a0952054ffcedfce26c3d0bf098.
3a99142e5eda2a0952054ffcedfce26c3d0bf098
You can't use
count()
on PHP strings because they don't implement Countable, you must usestrlen
or it'll throw an exception.