Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6591

ERROR: Coding error detected, it must be fixed by a programmer: check_browser_version is removed, please update your code to use core_useragent instead.

XMLWordPrintable

    • MOODLE_31_STABLE

      Hi,

      The Moodle platform administered gives the following error message when I try to display the preview of the questionnaire that has been created:

      {{ERROR: Coding error detected, it must be fixed by a programmer: check_browser_version is removed, please update your code to use core_useragent instead.

      Debug info:
      Error code: codingerror
      Stack trace:
      line 1975 of /lib/deprecatedlib.php: coding_exception thrown
      line 25 of /question/type/order/renderer.php: call to check_browser_version()
      line 41 of /question/type/order/renderer.php: call to qtype_order_renderer->can_use_drag_and_drop()
      line 843 of /question/engine/questionattempt.php: call to qtype_order_renderer->head_code()
      line 460 of /question/engine/questionusage.php: call to question_attempt->render_head_html()
      line 1446 of /mod/quiz/attemptlib.php: call to question_usage_by_activity->render_question_head_html()
      line 114 of /mod/quiz/attempt.php: call to quiz_attempt->get_html_head_contributions()
      Continuar }}

      The steps to reproduce this error are:

      1. An activity of the type "Questionnaire" is created.
      2. The corresponding questions are generated using the following types of questions installed in Moodle (ddmatch, ddwtos, gapselect and order)
      3. Once finished configuring the questions and answers of the questionnaire is saved, and accessed preview. It is at this point when you can not preview the final questionnaire created and displays the error message described above
      4. Action to deleted the types of questions that have been created is made to see if some kind of problem questions added, and verified that when the question of the type "order" is deleted, you can preview perfectly questionnaire. Only occurs with this type of questions, "order". It has been found that it is correctly updated to the latest version.

            Unassigned Unassigned
            eduhernandezm Eduardo Hm
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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