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

Call to undefined function Html2Text\mb_internal_encoding()

XMLWordPrintable

    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-53896-master
    • Hide

      Do the following on a PHP install with the mbstring extension:

      1. Run vendor/bin/phpunit lib/tests/html2text_test.php
      2. Verify there are no fails

      Do the following on a PHP install without the mbstring extension:

      1. Remove symfony's mbstring polyfil:
        1. Delete composer.lock from the moodle root directory
        2. Remove the behat-extension stuff from composer.json
        3. Install PHP unit using mdk or the init scripts
      2. Run vendor/bin/phpunit lib/tests/html2text_test.php
      3. Verify there are still no errors
      Show
      Do the following on a PHP install with the mbstring extension: Run vendor/bin/phpunit lib/tests/html2text_test.php Verify there are no fails Do the following on a PHP install without the mbstring extension: Remove symfony's mbstring polyfil: Delete composer.lock from the moodle root directory Remove the behat-extension stuff from composer.json Install PHP unit using mdk or the init scripts Run vendor/bin/phpunit lib/tests/html2text_test.php Verify there are still no errors

      The error occurred testing Moodle Mobile Quiz using the latest Moodle master.

      The Webservice call was:
      http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json

      quizid=9&forcenew=0&moodlewssettingfilter=true&wsfunction=mod_quiz_start_attempt&wstoken=TOKEN

      Environment check only recommends to install mbstring but the error make me think that it has to be a required php extension.

            cameron1729 cameron1729
            pferre22 Pau Ferrer
            Ryan Wyllie Ryan Wyllie
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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