There's nothing wrong with that file. The error you're seeing is a result of a bad request, as in bad data, being sent to that class when being called by something else in your code.