check if getLastErrors() returns a false bool, rather than specific array elements, as this throws an error in php8.2 if there are no errors returned.
check if getLastErrors() returns a false bool, rather than specific array elements, as this throws an error in php8.2 if there are no errors returned.