The cleanup report "Publications with an Invalid Page Count" errors out under MySQL 8.0. It's due to the change in the way the MySQL query parser handles backslashes. The bug occurs in function288() of edit/cleanup_report.py. See nightly/nightly_cleanup.com for related code.
Anonymous
Part 1 implemented in edit/cleanup_report.py, installed in SVN 997 on 2022-09-10.
Part 2 implemented in edit/cleanup_report.py, installed in SVN 998 on 2022-09-10.