error/moodle/invalidrecord: Difference between revisions

From MoodleDocs
(advice thanks to Tim in https://moodle.org/mod/forum/discuss.php?d=199860)
No edit summary
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
To fix this problem, try running the cron lots of times until you see a message like "Running clean-up tasks..." near the top of the output. See the discussion [https://moodle.org/mod/forum/discuss.php?d=199860 Can not find data record in database table context] for further advice.
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 [https://moodle.org/mod/forum/discuss.php?d=199860 Can not find data record in database table context] discussion for further advice.
If that doesn't help, enable debug messages, developer level and recreate your error. This gives you some extra handles to solve the problem.


[[Category:Error|Invalidrecord]]
[[Category:Error|Invalidrecord]]
[[de:error/moodle/invalidrecord]]
[[es:error/moodle/invalidrecord]]
[[fr:error/moodle/invalidrecord]]

Latest revision as of 20:46, 1 November 2018

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. If that doesn't help, enable debug messages, developer level and recreate your error. This gives you some extra handles to solve the problem.