To recreate, add a new course, selecting social format. The following error message is displayed:
Coding error detected, it must be fixed by a programmer: Block type admin has been disabled by the administrator.
- line 798 of /lib/blocklib.php: coding_exception thrown
- line 610 of /lib/blocklib.php: call to block_manager->check_known_block_type()
- line 675 of /lib/blocklib.php: call to block_manager->add_block()
- line 1860 of /lib/blocklib.php: call to block_manager->add_blocks()
- line 3508 of /course/lib.php: call to blocks_add_default_course_blocks()
- line 111 of /course/edit.php: call to create_course()