Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /var/www/html/jorani/vendor/phpmailer/phpmailer/src/SMTP.php:277)
Filename: helpers/url_helper.php
Line Number: 564

Thanks!
Hello All,
I have the same issue everytime mails are sent via SMTP. Everything works, mails are also working, but I always receive an warning A PHP Error was encountered and it's annoying. This is visible after User creation, password reset, Leave request and so on.
Is there any solution to this? I saw from reply above that error_reporting(0); can fix this, but it wasn't specified where this line should be put. And PHP is not my strongest side, so I didn't try it yet. I tried everything else that was suggested in this group, but no luck. I would really appreciate any help on this.
This is what I have: Apache/2.4.46 (Win64), PHP/7.4.10 and Jorani/v.1.0.0
Thanks in advance :)
Kind regards,
Patrik
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /var/www/html/jorani/vendor/phpmailer/phpmailer/src/SMTP.php:280)
Filename: helpers/url_helper.php
Line Number: 564
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /var/www/html/jorani/vendor/phpmailer/phpmailer/src/SMTP.php:280)
Filename: helpers/url_helper.php
Line Number: 564
--------------------------------------------------------------------------------------------------------------------
Je confirme que le mail est bien envoyé.
Je suis en version 1.0.0 de Jorani.
Merci de votre aide.
--
You received this message because you are subscribed to the Google Groups "jorani" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jorani+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jorani/75d7ad76-2539-4db4-9d32-7e313fe4f93cn%40googlegroups.com.