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

mod form can not be opened

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.4
    • Module: Game
    • None
    • 2024022501
    • MOODLE_404_STABLE

      When opening /course/defaultcompletion.php?id=1

      in moodle 4.4

       

      the following error is thrown:

      Fatal error: Cannot redeclare game_get_moodle_version() (previously declared in /mod/game/locallib.php:55) in /mod/game/locallib.php on line 55

       

      Solution:

      mod_form.php
      require( 'locallib.php');

      should be:
      require_once( 'locallib.php');

       

            bdaloukas Vasilis Daloukas
            danielpr Daniel P
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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