Note: You are currently viewing documentation for Moodle 3.3. Up-to-date documentation for the latest stable version of Moodle is probably available here: error/moodle/invalidrecord.
The message 'Can not find data record in database table' is displayed when a forum post or other data has been deleted.
If you have recently upgraded and obtain the message, try running Cron repeatedly until you see the message "Running clean-up tasks..." near the top of the output. See the Can not find data record in database table context discussion for further advice.