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

Undefined offset: -1 i/message/externallib.php:253

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.1.10
    • Messages
    • None
    • MOODLE_401_STABLE

      We see quite sporadical errors on sending instant messages via:
      Participants of a course --> dropdown: send a message

      The error occuring on website in browser  looks like:
      formatnotsupported
      webservice/formatnotsupported

      Error log:
      PHP Notice:  Undefined offset: -1 in /message/externallib.php on line 252...
      PHP Notice:  Trying to get property 'smallmessage' of non-object
      PHP Notice:  Undefined offset: -1 in /message/externallib.php on line 253
      PHP Notice:  Trying to get property 'fullmessageformat' of non-object in message/externallib.php on line 253

      Unfortunately the error is occasionally and not very often.
      The message text is plain text without special chars.

            Unassigned Unassigned
            lestefan Stefan L
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 21 minutes
                21m

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