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

Check CLI fails when mnet is enabled in Moodle 4.0 and older

XMLWordPrintable

    • MOODLE_400_STABLE

      In Moodle 4.0 and older php admin/cli/checks.php throws an exception:

      root@5437eb2fbd64:/var/www/moodle40# php admin/cli/checks.php         
      !!! Exception - Call to undefined function mnet_get_hosts() !!!
      !! 
      Error code: generalexceptionmessage !!
      !! Stack trace: * line 2778 of /lib/upgradelib.php: Error thrown
      * line ? of unknownfile: call to check_xmlrpc_usage()
      * line 736 of /lib/environmentlib.php: call to call_user_func()
      * line 482 of /lib/environmentlib.php: call to environment_custom_checks()
      * line 106 of /lib/environmentlib.php: call to environment_check()
      * line 70 of /lib/classes/check/environment/environment.php: call to check_moodle_environment()
      * line 113 of /admin/cli/checks.php: call to core\check\environment\environment->get_result()
       !!
      

      This doesn't seem to be an issue in 4.1 and master as lots of mnet checks were removed as part of MDL-76053

            Unassigned Unassigned
            mikhailgolenkov Misha Golenkov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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