OJS 3.5.0.4 installed via Softaculous on HostGator/cPanel.
Problem: Cannot send mail . happens with sending invites but also links such as “forgot password”. the emails are never received.
my config file has the correct email settings:
restful_urls = Off
disable_path_info = On
default email = smtp
smtp_server = mail.pccmreports.com
smtp_port = 465
smtp_auth = ssl
job_runner = On
process_jobs_at_task_scheduler = Off
I also notice that role invitations are created in the invitations table.but I dont get the email.
In the error logs I see things like this:
Error log:
Undefined property: PKP\invitation\invitations\userRoleAssignment\payload\UserRoleAssignmentInvitePayload::$emailSubject
Undefined property: PKP\invitation\invitations\userRoleAssignment\payload\UserRoleAssignmentInvitePayload::$emailBody
Undefined array key “invitation_id” in lib/pkp/classes/invitation/models/InvitationModel.php on line 95
- Resetting all email templates did not fix it.
- Tested PHP 8.3 and PHP 8.2; same errors.
- SMTP settings appear correct and webmail can send externally.
Thank you and any additional clarifications please let me know.