• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Mail Error - Fatal Error: syntax error, unexpected T_FUNCTION

I'm unable to send registration emails right now. I feel like I'm missing something very basic here.

Already tried to disable all addons. Maybe I haven't configured the email properly?

ErrorException: Fatal Error: syntax error, unexpected T_FUNCTION - library/XenForo/Mail.php:362
Generated By: Unknown Account, 14 minutos atrás

#0 [internal function]: XenForo_Application::handleFatalError('XenForo_Mail')
#1 {main}
Last edited:


Well-known member
Apply the patch listed in the announcement thread or redownload and re-upload the 1.2.1 files from the customer area.