static functionnot declared as static
incorrect error type attempted to be caught in list model when creating an index