Well,
From the error message, it sounds like you copied my SQL from the post. Did you? MAX is an aggregate. If an aggregate exists in a SELECT clause, all of the other fields listed in the clause that are not attached to aggregate functions have to be grouped. Did you read the FAQ from that link I gave?
Is there more to the puzzle here (as in, "stacked queries", or more than one table involved)?