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

Fatal error when attempting to import questions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.9.6, 2.0
    • 2.0
    • Questions
    • None
    • MOODLE_20_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

      Simply login as an admin, browse to a course, select questions from the navigation, and then choose import and `wallah` you should see this fatal error.
      The function as it suggests is declared in both files and both files have been included, I'm not too familiar with this side of things and at a quick glace of the under lying code I figured this would be a better left for someone who has some knowledge of this area. If no one claims it however I'll take it.

      Fatal error: Cannot redeclare hotpot_utf8_to_html_entity()
      (previously declared in /var/www/m20.dev1/moodle/mod/hotpot/lib.php:2793) in /var/www/m20.dev1/moodle/question/format/hotpot/format.php on line 673

      1. Time Memory Function Location
        1 0.0103 192992 {main}

        ( ) ../import.php:0
        2 0.2502 50423264 moodleform->moodleform( ) ../import.php:48
        3 0.2513 50443480 question_import_form->definition( ) ../formslib.php:149
        4 0.2524 50673384 get_import_export_formats( ) ../import_form.php:16

            timhunt Tim Hunt
            samhemelryk Sam Hemelryk
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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