Your Moodle version

Question types: Gapfill Question

Maintained by Picture of Marcus Green Marcus Green
Cloze question type with VERY simple question creation syntax. Can do drag drop, dropdowns or gapfill questions
Moodle 2.6, 2.7, 2.8, 2.9, 3.0


Screenshot #0


Picture of Marcus Green
Marcus Green (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Mariapaola Cirelli
    Thu, Nov 19, 2015, 11:14 AM
    Hi Marcus,
    I am experiencing an error everytime I work with non ASCII characters. My language is Italian. Whenever I create a gapfill exercise where my students have to write words with a final accent (è, à, ecc) the system will mark the answer wrong even when it's right.
    For example, if the word to type in the box is [andrà] and the student writes [andrà], the system will mark it wrong anyway and suggest the correct answer which is ...[andrà]!!!
    I am using version 2.9 of Moodle and version 1.8 of Gapfill. I tried switching case sensitivity on and off but it didn't work. Is there a way the problem can be fixed?
    Thank you!
  • Picture of Marcus Green
    Thu, Nov 19, 2015, 6:27 PM
    Hi Mariapaola, I have sent you a direct message with my email address in it and I have been doing some tests with your example.
  • Picture of Mariapaola Cirelli
    Fri, Nov 20, 2015, 5:17 AM
    Hi Marcus,
    yes I got your message but I didn't quite understand what I was supposed to do. Thank you for getting back to me so quickly!
  • Picture of Vela Simeonova
    Thu, Nov 26, 2015, 3:58 PM
    Hello Marcus,

    The plugin is great and helpfull, but I am experiencing the same problem with non ASCII characters. Using Moodle2.8, gapfill1.8. The problem is axactly the same as Cirrelli wrote before. Is there any solution?
    Thank you
  • Picture of Marcus Green
    Thu, Nov 26, 2015, 4:34 PM
    Uncheck the regular expression checkbox and let me know the result
  • Picture of Eduardo Hm
    Thu, Dec 3, 2015, 9:42 PM
    Hi Marcus,

    I tell you what my problem is. I have a Moodle platform version 2.9.1, with the latest update on the type of "gapfill" question.

    The platform is in Spanish, and the problem occurs when generating a question to fill in where the answers have accents (Spanish spelling), when finalizing the questionnaire fails on those responses. No hunt properly.

    I've also updated the language pack "Spanish-International", but continues to this judgment when evaluating responses GapFill type.

    Any suggestions or bug moodle own?
  • Picture of Marcus Green
    Thu, Dec 3, 2015, 9:53 PM
    Hi Eduardo, I have replied on github, thank you for the screen shot which was very helpful..
  • Picture of Daniel Thies
    Sat, Jan 2, 2016, 8:13 AM
    I had a fatal error on my site when upgrading my site to PHP 7 on Moodle 3.0.1. I patched and have it in a pull request on github.
  • Picture of Marcus Green
    Sat, Jan 2, 2016, 4:06 PM
    Thanks Daniel, I have updated the 1.9 branch with your fix. The 1.9 branch has some other minior fixes. I don't have a working install of PHP7, so if you could install that and email me at marcusavgreen at gmail dot com to confirm it works I would be very greatful.
  • Picture of Paul Vivian
    Mon, Jan 4, 2016, 4:23 AM
    Hi All,
    Just updated via the moodle plug in database this plug in, and this error appears


    Cannot downgrade qtype_gapfill from 2006082517 to 2006082517.

    More information about this error
    Debug info:
    Error code: cannotdowngrade
    Stack trace:

    line 347 of /lib/upgradelib.php: downgrade_exception thrown
    line 80 of /question/type/gapfill/db/upgrade.php: call to upgrade_plugin_savepoint()
    line 541 of /lib/upgradelib.php: call to xmldb_qtype_gapfill_upgrade()
    line 1630 of /lib/upgradelib.php: call to upgrade_plugins()
    line 433 of /admin/index.php: call to upgrade_noncore()

    I have tried it for Moodle 2.9 & 3.0.1 and they all come up with the same error.

    Please assist
  • Picture of Marcus Green
    Mon, Jan 4, 2016, 4:45 AM
    Hi Paul, my apologies for that, I have just updated the file and installation should work now (it appears to be the same but there is an update within db\update.php to a versioin number). Please let me know if it works
  • Picture of Paul Vivian
    Mon, Jan 4, 2016, 3:55 PM
    Awesome, thank you Marcus..
  • Picture of camille Grasset
    Sat, Jan 16, 2016, 7:51 PM
    Hi Marcus,
    I get the same error as Paul Vivian shows above (4.january). You seem to have this issue fixed, however, I haven't found yet how to update the file: I always am directed to the same "plugins check" page waiting for an "upgrade of the moodle database". I cannot either uninstall the plugin from the plugins overview page.
    I guess I lack knowledge on how to administrate plugins, but I haven't found any answers in moodle documentation and forums...
    Some help would be really apreciated!
  • Picture of Marcus Green
    Sat, Jan 16, 2016, 8:04 PM
    Hi Camille, yes the issue Paul had is fixed in the visible release. The problem was in the db\upgrade.php file. If you can replace that the upgrade should run without error. When did you download/attempt to upgrade your version? That faulty version was only available for a matter of hours I believe. You can email me directly at marcusavgreen at and one way or another I should be able to get your question upgraded.
  • Picture of camille Grasset
    Sat, Jan 16, 2016, 10:28 PM
    Fantastic, it's all fine now, many thx for the help
1 2 3 4 5 6 7 8
Please login to post comments