User signup error on latest version of OJS (3.5.0-3). When users signs up, I see this error:
Fatal error: Uncaught Symfony\Component\Mime\Exception\LogicException: An email must have a “From” or a “Sender” header. in /home/customer/www/[myjournaldomain.com]/public_html/lib/pkp/lib/vendor/symfony/mime/Message.php:132 Stack trace: #0
Other emails, for example password reset, work ok, and principal contact is set at site and journal level.
Any help appreciated.
This turned out to be email config for me, in case it helps anyone the key setting was this:
force_dmarc_compliant_from = On
Tried it, still the same error.
Is there any other setting to enable?
I also have:
allow_envelope_sender = On
default_envelope_sender = [journal address]
force_default_envelope_sender = On
together with SMTP sending set up. Also make sure the journal email address is specified in journal settings.
For me it was having email sending properly configured, but this can be tricky and varies with setup.
Happy to help @crossroadsjournal
To the OJS team, it seems like generally misconfigured email results in a silent send failure, this would be preferable to an uncaught error. This was the the only issue encountered in setting up 3.5 the latest version, which otherwise seems great.