Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-3067

dml_exceptions flooding logs during rss

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: moodle.org
    • Labels:
      None

      Description

      The below logs are everywhere and quite too often. This issue is about looking at reducing the log gin there possibly to make out logs a bit more sane. (there also may be an MDL issue here or a db clean up needed)

      Default exception handler: Can not find data record in database table context. Debug: SELECT * FROM {context} WHERE id = ?\n[array (\n  0 => 216,\n)]\nError code: invalidrecord\n* line 1451 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown\n* line 1427 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()\n* line 5364 of /lib/accesslib.php: call to moodle_database->get_record()\n* line 1433 of /lib/accesslib.php: call to context::instance_by_id()\n* line 122 of /rss/file.php: call to get_context_info_array()\n
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              nebgor Aparup Banerjee
              Participants:
              Component watchers:
              Helen Foster
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: