Posted May 12May 12 Hello,We just upgraded to 5.0.7 from 4 and we deleted ALL plugins and Apps, so this is essentially a stock install. Members are complaining that they are not recieving emails, I clicked manually on the resend validation email and I see the following errors. Anyone know how I can resolve this? Thanks.The URL of page the error occurred on was https://www.bellazon.com/main/admin/?app=core&module=members&controller=members&do=resendEmail&id=320273&csrfKey=2e03ea0b6cd6297ec425444890273d24Error: Undefined constant "IPS\Theme\md5" (0)#0 /data/html/bellazon.com/main/system/Email/Email.php(1048): IPS\Theme\email_html_core_registration_validate()#1 /data/html/bellazon.com/main/system/Email/Email.php(452): IPS\Email::template()#2 /data/html/bellazon.com/main/system/Email/Email.php(762): IPS\Email->compileContent()#3 /data/html/bellazon.com/main/system/Email/Email.php(674): IPS\Email->_compileMessage()#4 /data/html/bellazon.com/main/system/Email/Outgoing/Smtp.php(220): IPS\Email->compileFullEmail()#5 /data/html/bellazon.com/main/system/Email/Email.php(826): IPS\Email\Outgoing\Smtp->_send()#6 /data/html/bellazon.com/main/applications/core/modules/admin/members/members.php(2846): IPS\Email->send()#7 /data/html/bellazon.com/main/system/Dispatcher/Controller.php(128): IPS\core\modules\admin\members\members->resendEmail()#8 /data/html/bellazon.com/main/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()#9 /data/html/bellazon.com/main/admin/index.php(15): IPS\Dispatcher->run()#10 {main}Backtrace#0 /data/html/bellazon.com/main/init.php(827): IPS\Log::log()#1 [internal function]: IPS\IPS::exceptionHandler()#2 {main}
May 12May 12 Author And just to confirm, I did verify our email settings in the admin CP and if I click "test" the email goes through no problem.
May 12May 12 Community Expert A couple of things you should do here.Upload a fresh set of files from your client area, then test this againEnsure you dont have any customised email templates
May 12May 12 Author 10 hours ago, Marc said:A couple of things you should do here.Upload a fresh set of files from your client area, then test this againEnsure you dont have any customised email templatesI just downloaded the most recent version (5.0.7 + security patch) and reapplied it and ran the upgrade". then I went to members awaiting validation and clicked on resend validation email and recieved the same message:"Error: Undefined constant "IPS\Theme\md5" (0)#0 /data/html/bellazon.com/main/system/Email/Email.php(1048): IPS\Theme\email_html_core_registration_validate()#1 /data/html/bellazon.com/main/system/Email/Email.php(452): IPS\Email::template()#2 /data/html/bellazon.com/main/system/Email/Email.php(762): IPS\Email->compileContent()#3 /data/html/bellazon.com/main/system/Email/Email.php(674): IPS\Email->_compileMessage()#4 /data/html/bellazon.com/main/system/Email/Outgoing/Smtp.php(220): IPS\Email->compileFullEmail()#5 /data/html/bellazon.com/main/system/Email/Email.php(826): IPS\Email\Outgoing\Smtp->_send()#6 /data/html/bellazon.com/main/applications/core/modules/admin/members/members.php(2846): IPS\Email->send()#7 /data/html/bellazon.com/main/system/Dispatcher/Controller.php(128): IPS\core\modules\admin\members\members->resendEmail()#8 /data/html/bellazon.com/main/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()#9 /data/html/bellazon.com/main/admin/index.php(15): IPS\Dispatcher->run()#10 {main}"Let me know if you need further details. Invision CommunityVersion 5.0.7Running latest versionPHPVersion 8.4.7No issues identifiedDatabaseVersion 11.6.2-MariaDB-logNo issues identifiedCachingCache Engine: RedisRedis 6.2.18 in use (81.73M of 251.06G memory used)Fix ThisCloudflare detected
May 12May 12 Community Expert Solution Do you have any customized email templates in ACP -> Customization -> Emails?
May 12May 12 Author 1 hour ago, Jim M said:Do you have any customized email templates in ACP -> Customization -> Emails?Hmm strange, there was one thing in there that was modified (somehow migrated from IPB4?), I reverted it and now it appears to be working.Is there any way for me to bulk email all pending email validations?
May 12May 12 Community Expert I'm afraid, there are not. You would need to review these and re-send them either in the Members tab or ACP -> System -> Email Settings -> Email Errors.
May 12May 12 Author 10 minutes ago, Jim M said:I'm afraid, there are not. You would need to review these and re-send them either in the Members tab or ACP -> System -> Email Settings -> Email Errors.So there are 93 pages of emails to send, surely I cant do them by hand. The format is of the following (I changed the csfKey) https://www.bellazon.com/main/admin/?app=core&module=settings&controller=email&do=errorLogResend&id=209518&csrfKey=de9c0c66e92a3ad3b75b785db54bb97ahttps://www.bellazon.com/main/admin/?app=core&module=settings&controller=email&do=errorLogResend&id=209517&csrfKey=de9c0c66e92a3ad3b75b785db54bb97ahttps://www.bellazon.com/main/admin/?app=core&module=settings&controller=email&do=errorLogResend&id=209516&csrfKey=de9c0c66e92a3ad3b75b785db54bb97aCan I run this on the command line somehow? or from curl?