Error in "Stats & Reports" page

(See also this related thread)