OJS 3.5.0-3 user signup error

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.

I got same error. Documented here: OJS 3.5 error related to sending email when registering new users

1 Like

This turned out to be email config for me, in case it helps anyone the key setting was this:

force_dmarc_compliant_from = On

1 Like

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.

1 Like

That worked! Sincere and deep thanks spiraledge!!! :grinning_face: :folded_hands: :+1:

1 Like

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.

1 Like

This topic was automatically closed after 12 days. New replies are no longer allowed.