Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-24254

Coding error detected when attempting to create social format course

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Course
    • Labels:
      None

      Description

      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.

      Stack trace:

      • 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()

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10