You need to call stan with verbose = TRUE to see the actual error message, but my guess is that it is fixable by one of
stan
verbose = TRUE