Error sending message with mail notofication -> Class 'PHPMailer\PHPMailer\SMTP' not found

Bug #1814078 reported by Christian Fliegner on 2019-01-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Status tracked in 19.04
17.10
High
Unassigned
18.04
High
Unassigned
18.10
High
Unassigned
19.04
High
Unassigned

Bug Description

- problem: [WAR] b2 (lib/errors.php:535) [Error]: Class 'PHPMailer\PHPMailer\SMTP' not found
- Browser-Message: "Mahara: Site unavailable
A nonrecoverable error occurred. This probably means you have encountered a bug in the system"

- used mahara 18.10.1 (testing) from 31.01.2019 (SHA-1: c0da1756ef212d899db6614c9e790079121e78b4)
- operation System Ubuntu 18.04 LTS with PHP 7.2 (shipped with Ubuntu 18.04)
- database: mysql 5.7 (shipped with Ubuntu 18.04)
- Error is reproducible on any browser

Robert Lyon (robertl-9) wrote :

Hi Christian,

Thank you for your bug report. I can replicate the problem.

Can you give the change in https://reviews.mahara.org/#/c/9522/ a try and see if make any difference for you?

Cheers

Robert

Changed in mahara:
status: New → In Progress
importance: Undecided → High
milestone: none → 19.04.0

Reviewed: https://reviews.mahara.org/9522
Committed: https://git.mahara.org/mahara/mahara/commit/a3ae7446cb4acbebdf9a2255ec57d0c1607898f2
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit a3ae7446cb4acbebdf9a2255ec57d0c1607898f2
Author: Robert Lyon <email address hidden>
Date: Tue Feb 5 10:10:19 2019 +1300

Bug 1814078: Including the PHPMailer SMTP file as well

This is needed if the user has configured the SMTP settings in
Administration -> Configure site -> Email settings

behatnotneeded

Change-Id: I8931b7acb879ae8eec34d253c95825b51af0ab49
Signed-off-by: Robert Lyon <email address hidden>

Mahara Bot (dev-mahara) wrote :

Patch for "18.04_STABLE" branch: https://reviews.mahara.org/9540

Mahara Bot (dev-mahara) wrote :

Patch for "17.10_STABLE" branch: https://reviews.mahara.org/9541

Reviewed: https://reviews.mahara.org/9539
Committed: https://git.mahara.org/mahara/mahara/commit/02f9a3847ccdd234892869c51d7867ef0e648be3
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 18.10_STABLE

commit 02f9a3847ccdd234892869c51d7867ef0e648be3
Author: Robert Lyon <email address hidden>
Date: Tue Feb 5 10:10:19 2019 +1300

Bug 1814078: Including the PHPMailer SMTP file as well

This is needed if the user has configured the SMTP settings in
Administration -> Configure site -> Email settings

behatnotneeded

Change-Id: I8931b7acb879ae8eec34d253c95825b51af0ab49
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit a3ae7446cb4acbebdf9a2255ec57d0c1607898f2)

Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/9540
Committed: https://git.mahara.org/mahara/mahara/commit/98a641561706ae823450c895ff617c1c983a3833
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 18.04_STABLE

commit 98a641561706ae823450c895ff617c1c983a3833
Author: Robert Lyon <email address hidden>
Date: Tue Feb 5 10:10:19 2019 +1300

Bug 1814078: Including the PHPMailer SMTP file as well

This is needed if the user has configured the SMTP settings in
Administration -> Configure site -> Email settings

behatnotneeded

Change-Id: I8931b7acb879ae8eec34d253c95825b51af0ab49
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit a3ae7446cb4acbebdf9a2255ec57d0c1607898f2)

Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/9541
Committed: https://git.mahara.org/mahara/mahara/commit/99c1c68756f9f25b5f2000578e5f8180e4cb7c4f
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 17.10_STABLE

commit 99c1c68756f9f25b5f2000578e5f8180e4cb7c4f
Author: Robert Lyon <email address hidden>
Date: Tue Feb 5 10:10:19 2019 +1300

Bug 1814078: Including the PHPMailer SMTP file as well

This is needed if the user has configured the SMTP settings in
Administration -> Configure site -> Email settings

behatnotneeded

Change-Id: I8931b7acb879ae8eec34d253c95825b51af0ab49
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit a3ae7446cb4acbebdf9a2255ec57d0c1607898f2)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers