Note: You are currently viewing documentation for Moodle 3.7. Up-to-date documentation for the latest stable version of Moodle may be available here: error/moodle/invalidrecord.

error/moodle/invalidrecord: Difference between revisions

From MoodleDocs
(Cron link)
No edit summary
 
(6 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 the message "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.