please use `$whereId = array()` instead of `$whereId = []` for php5.3 support