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

Notice while sending Jabber notifications

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.3.6, 2.4.3, 2.5
    • Fix Version/s: 2.3.7, 2.4.4
    • Component/s: Messages
    • Labels:

      Description

      Following MDLQA-5431, the following notice appears when:

      • Cron is sending forum notifications
      • Cron is sending assignments notifications
      • Sending private message to user

      Notice: Undefined offset: 1 in /home/fred/www/repositories/im/moodle/lib/jabber/XMPP/Roster.php on line 121
       
      Call Stack:
          0.0005     828904   1. {main}() /home/fred/www/repositories/im/moodle/message/index.php:0
          0.1334   40055608   2. message_post_message() /home/fred/www/repositories/im/moodle/message/index.php:180
          0.1340   40059984   3. message_send() /home/fred/www/repositories/im/moodle/message/lib.php:2078
          0.1669   40959112   4. message_output_jabber->send_message() /home/fred/www/repositories/im/moodle/lib/messagelib.php:212
          2.9818   41005840   5. XMPPHP_XMLStream->disconnect() /home/fred/www/repositories/im/moodle/message/output/jabber/message_output_jabber.php:82
          2.9819   41006064   6. XMPPHP_XMLStream->processUntil() /home/fred/www/repositories/im/moodle/lib/jabber/XMPP/XMLStream.php:358
          3.2669   41007112   7. XMPPHP_XMLStream->__process() /home/fred/www/repositories/im/moodle/lib/jabber/XMPP/XMLStream.php:471
          3.2670   41012960   8. xml_parse() /home/fred/www/repositories/im/moodle/lib/jabber/XMPP/XMLStream.php:420
          3.2672   41018488   9. XMPPHP_XMLStream->endXML() /home/fred/www/repositories/im/moodle/lib/jabber/XMPP/XMLStream.php:0
          3.2673   41020024  10. XMPPHP_XMPP->presence_handler() /home/fred/www/repositories/im/moodle/lib/jabber/XMPP/XMLStream.php:567
          3.2673   41021608  11. Roster->setPresence() /home/fred/www/repositories/im/moodle/lib/jabber/XMPP/XMPP.php:252
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    13/May/13