Course delete fails with Accessibility Block installed and active. Removing block from course allows deletion.
[Moodle 2.2.2+ on Windows Server 2008 / IIS / MSSQL / PHP 5.3.8]
Coding error detected, it must be fixed by a programmer: Cannot require a CSS file after <head> has been printed.
More information about this error
Debug info: /blocks/accessibility/userstyles.php
line 596 of \lib\outputrequirementslib.php: coding_exception thrown
line 49 of \blocks\accessibility\block_accessibility.php: call to page_requirements_manager->css()
line 118 of \blocks\moodleblock.class.php: call to block_accessibility->init()
line 1525 of \lib\blocklib.php: call to block_base->__construct()
line 1881 of \lib\blocklib.php: call to block_instance()
line 1902 of \lib\blocklib.php: call to blocks_delete_instance()
line 4390 of \lib\moodlelib.php: call to blocks_delete_all_for_context()
line 4313 of \lib\moodlelib.php: call to remove_course_contents()
line 78 of \course\delete.php: call to delete_course()