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

Undefined property notice for $debugsmtp on outgoing mail config test page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.7.3
    • 3.7, 3.8
    • Administration
    • MOODLE_37_STABLE, MOODLE_38_STABLE
    • MOODLE_37_STABLE
    • MDL-66169-master
    • Hide

      With debugging on:

      1. Ensure that $CFG->debugsmtp is not set in your config.php
      2. Configure outbound mail (mailhog is fine)
      3. Go to the "Test outgoing mail configuration" page
      4. Send a test email to any address
      5. Verify you don't see a php notice on the page.
      Show
      With debugging on: Ensure that $CFG->debugsmtp is not set in your config.php Configure outbound mail (mailhog is fine) Go to the "Test outgoing mail configuration" page Send a test email to any address Verify you don't see a php notice on the page.

      With debugging on:

      • Configure outbound mail (mailhog is fine)
      • Go to the "Test outgoing mail configuration" page
      • Send a test email to any address
      • See the php notice:

        Undefined property: stdClass::$debugsmtp
        

      I suspect this is caused by the master-only change made in MDL-60347 (making that CFG var optional)

            jaked Jake Dallimore
            jaked Jake Dallimore
            Andrew Lyons Andrew Lyons
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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