Some weeks ago we upgraded our OJS from 3.1.2 to 3.3.0.14, and it’s working mostly fine, but one thing we noticed is that when I set require_validation = On in config.inc.php the e-mails are not sent. This is strange since the other e-mails are working.
Looking into apache’s error_log, every time I try to create an account, there is this “Message body empty” message.
Then my next step was to check the e-mail templates, and while the “Validate Your Account” template is there, the template for pt_BR (brazilian portuguese) does not exist (screenshots attached). This is also strange, since my locale/pt_BR/emails.po exists and has the translations for emails.userValidate.subject, emails.userValidate.body and emails.userValidate.description.
I suspect this has to do with incorrect locale settings. Something like this:
That I already corrected, as our installed_locales and supported_locales were [“pt_BR”,“en_US”,“es_ES”,“fr_CA”].