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

Incoming mails throw fatal error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.8.1
    • Forum
    • None
    • MOODLE_28_STABLE

      We have upgraded the Moodle from 2.6.4+ to 2.8.1+ and when we are adding private files through email, after running the cron manually we are getting the below mentioned fatal error and Notice.

      The reply done to forum post via email is also not posted in the forum though mail from forum is being delivered properly with replyto as an appropriate generated address. The reply also ends up appropriately in the intended mailbox.

      We have also enabled all the three handlers in the Message handlers setting.

      We have also configured TCP IN and TCP OUT ports for IMAP i.e. 143 and 993 in csf.config file of firewall.

      We have enabled DEVELOPER mode debugging with e-mail debugging as well. The relevant portion of cron output is also pasted below with the fatal error and notice we are getting.

      Please assist on the same.

      Notice: date_default_timezone_set(): Timezone ID '5.5' is invalid in /home/upgradelms/public_html/lib/classes/task/scheduled_task.php on line 328
      Enrolment file processing skipped - the component enrol_imsenterprise is disabled
      Execute scheduled task: Incoming email pickup
      ... started 12:26:11. Current memory use 25.9MB.
      Connecting to IMAP.gmail.com as himanshi.bhardwaj@ballisticlearning.com...
      Connection established.
      Searching for Unseen, Unflagged email in the folder 'INBOX'
      Found 1 messages to parse. Parsing...

      • Parsing message 286
        • Subject: attachment
        • From: himanshi.bhardwaj@ballisticlearning.com
        • Recipient: himanshi.bhardwaj+AAAAAAAAAAEAAAAAAAAAWv//////////oXfgQ3AbLMvMp3qt@ballisticlearning.com
        • Processing the message as user 90 (himanshi.bhardwaj).

      Fatal error: Call to a member function getHeaderText() on a non-object in /home/upgradelms/public_html/admin/tool/messageinbound/classes/manager.php on line 476

            matteo Matteo Scaramuccia
            himanshi Himanshi Bhardwaj
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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