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

Notice: Undefined property: stdClass::$lang in lib/weblib.php when DB is not available.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 4.1
    • Libraries
    • None
    • MOODLE_401_STABLE

      When I try to access my Moodle 4.1 site but the database is not available, I get the following error which is visible if debugging is set to display error in DEVELOPER mode:

      Notice: Undefined property: stdClass::$lang in lib/weblib.php on line 2239.

      Steps to reproduce:

      1. Ensure that debugging is enabled by default in php.ini (E_ALL)
      2. Complete the install Moodle 4.1 in English (en).
      3. Stop the database server.
      4. Go to the home page of the site.

      Screenshot

            Unassigned Unassigned
            michael-milette Michael Milette
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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