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

Error sending a message when approving a course

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Course, Messages
    • Labels:
    • Database:
      Any
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      When a course is approved through the course request/arppvoal system:

      Coding error detected, it must be fixed by a programmer: Could not load preference message_provider_course_courserequestapproved_loggedin. Does the component and name you supplied to message_send() match a row in message_providers? Message providers must appear in the database so users can configure how they will be notified when they receive messages.

      More information about this error

      Debug info: blah
      Stack trace:
      line 126 of /lib/messagelib.php: coding_exception thrown
      line 4087 of /course/lib.php: call to message_send()
      line 4038 of /course/lib.php: call to course_request->notify()
      line 51 of /course/pending.php: call to course_request->approve()

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    21/Feb/11