Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3620

Cannot require a CSS file after <head> has been printed

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 2.1, 2.2
    • 2.2.2
    • Block: Accessibility
    • None
    • Hide

      Remove the block from the course before deletion

      Show
      Remove the block from the course before deletion
    • MOODLE_22_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE

      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
      Stack trace:
      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()

            marxjohnson Mark Johnson
            mikelewis Michael Lewis
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.