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

get_record_select() not available anymore error when trying to create course

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: Administration, Course
    • Labels:
      None
    • Environment:
      Windows XP Pro, IIS5.1, PHP 5.3.4, MySQL 5.1,
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      When trying to create a course, after the screen to enroll users (which I skipped), I get the error "get_record_select() not available anymore", and then whenever I try to go any other page, it displays just that error and no other text or blocks, or moodle information. Using the browser back button I can back into the course and delete it and that seems to fix it. When running in debugging mode, I get a bunch of php errors that start with "parent does not exist!" and includes a bunch of the below:
      •line 855 of \lib\adminlib.php: call to debugging()
      •line 22 of \admin\settings\misc.php: call to admin_category->add()
      •line 5562 of \lib\adminlib.php: call to require()
      •line 2670 of \lib\navigationlib.php: call to admin_get_root()
      •line 2580 of \lib\navigationlib.php: call to settings_navigation->load_administration_settings()
      •line 583 of \lib\pagelib.php: call to settings_navigation->initialise()
      •line 599 of \lib\pagelib.php: call to moodle_page->magic_get_settingsnav()
      •line 134 of \blocks\settings\block_settings.php: call to moodle_page->__get()
      •line 279 of \blocks\moodleblock.class.php: call to block_settings->get_content()
      •line 232 of \blocks\moodleblock.class.php: call to block_base->formatted_contents()
      •line 882 of \lib\blocklib.php: call to block_base->get_content_for_output()
      •line 934 of \lib\blocklib.php: call to block_manager->create_block_contents()
      •line 342 of \lib\blocklib.php: call to block_manager->ensure_content_created()
      •line 7 of \theme\moodlebook\layout\general.php: call to block_manager->region_has_content()
      •line 627 of \lib\outputrenderers.php: call to include()
      •line 585 of \lib\outputrenderers.php: call to core_renderer->render_page_layout()
      •line 196 of \course\view.php: call to core_renderer->header()

        Attachments

          Activity

            People

            • Assignee:
              skodak Petr Skoda
              Reporter:
              kevbayer Kevin Bayer
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Dec/10