lundi 19 octobre 2015

Laravel Mail::send 500 Internal Server Error

I'm getting a 500 internal server error when trying to use Mail::send(). Frustratingly this has only just started happening, it was working fine before. The really frustrating part about this is I'm just getting the white screen of death. I've turned on debugging in config/app.php and set the environment to LOCAL, but I get nothing.

I've checked cPanel errors but there's nothing in them, it's not generating an error at all. Error reporting is definitely on, I added a call to an undefined function at the top of index.php and it showed me Fatal error: Call to undefined function throw_error_now() in /home/fluidstu/tracker/public_html/index.php on line 8 as expected, so that's not the issue.

How can I find out what is causing the issue if there's nothing in the logs (Laravel or cPanel) and I'm just getting a white screen of death when calling Mail::send?

I'd really appreciate some help on this as I'm about to throw my PC out the window.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire