Hi,
I think the error is occurring because getTypePermissionConstraints() (or the equivalent permission-constraint method on a search data handler) is returning false for one of your enabled content types, instead of returning either an array of constraints or true/false in the way...