Announcement

#1 2022-07-19 03:40:05

hackindave
Member
2021-07-11
42

Ok. Another problem

When someone goes to register, this is what they get after they click the button



Fatal error: Uncaught Error: Class 'PHPMailer\PHPMailer\Exception' not found in /home/u542484636/domains/****/public_html/include/phpmailer/PHPMailer.php:1917 Stack trace: #0 /home/u542484636/domains/****/public_html/include/phpmailer/PHPMailer.php(1650): PHPMailer\PHPMailer\PHPMailer->mailSend('Date: Tue, 19 J...', 'This is a multi...') #1 /home/u542484636/domains/****/public_html/include/phpmailer/PHPMailer.php(1486): PHPMailer\PHPMailer\PHPMailer->postSend() #2 /home/u542484636/domains/****.com/public_html/include/functions_mail.inc.php(900): PHPMailer\PHPMailer\PHPMailer->send() #3 /home/u542484636/domains/****/public_html/include/functions_mail.inc.php(459): pwg_mail(Array, Array, Array) #4 /home/u542484636/domains/*****/public_html/include/functions_mail.inc.php(399): pwg_mail_admins(Array, Array) #5 /home/u542484636/domains/****/public_html/include/functions_user.inc.php(228): pwg_mail_notification_admins('Registration of...', 'Us in /home/u542484636/domains/*****/public_html/include/phpmailer/PHPMailer.php on line 1917

Last edited by ddtddt (2022-07-19 08:22:55)

Offline

 

#2 2022-07-26 11:49:02

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Ok. Another problem

This will be fixed in Piwigo 13 :-)

Offline

 

#3 2022-07-26 14:55:02

erAck
Only trying to help
2015-09-06
2026

Re: Ok. Another problem

Meanwhile you can apply this patch https://github.com/Piwigo/Piwigo/pull/1 … c7cf6f9faa

Code:

cd YourPiwigoDirectory
curl https://github.com/Piwigo/Piwigo/commit/def870793fd15796340293856745e4c7cf6f9faa.patch | patch -p1

which should cure the error, but of course would not change the underlying cause for which the exception is to be thrown, e.g. not being able to contact the mail server or send the mail.
But this is essentially the same as [Forum, topic 32123] User Password and you said it didn't work for you.


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact