Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6619

Can not find data record in database table course.

$
0
0
by mart van der niet.  

When restoring a course from a backup I get:

 

Can not find data record in database table course.

Debug info: SELECT * FROM {course} WHERE id = ?
[array (
0 => '54',
)]
Error code: invalidrecord
Stack trace:
  • line 1453 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
  • line 1429 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
  • line 588 of /lib/datalib.php: call to moodle_database->get_record()
  • line 443 of /lib/modinfolib.php: call to get_course()
  • line 412 of /lib/modinfolib.php: call to course_modinfo->__construct()
  • line 2041 of /lib/modinfolib.php: call to course_modinfo::instance()
  • line 195 of /blocks/glossary_random/block_glossary_random.php: call to get_fast_modinfo()
  • line 288 of /blocks/moodleblock.class.php: call to block_glossary_random->get_content()
  • line 230 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
  • line 971 of /lib/blocklib.php: call to block_base->get_content_for_output()
  • line 1023 of /lib/blocklib.php: call to block_manager->create_block_contents()
  • line 473 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
  • line 37 of /theme/essential/layout/includes/header.php: call to core_renderer->standard_head_html()
  • line 27 of /theme/essential/layout/columns3.php: call to require_once()
  • line 1015 of /lib/outputrenderers.php: call to include()
  • line 945 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
  • line 244 of /course/view.php: call to core_renderer->header()

(Moodle2.9 (Build: 20150511))

 

All ideas highly appreciated!


Viewing all articles
Browse latest Browse all 6619

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>