The error message is in the JavaScript console.

whynot

Well-known member
The following error occurred
The server responded with an error. The error message is in the JavaScript console.
Since the upgrade to 1.2.1 we cannot start a PC.
 

whynot

Well-known member
ErrorException: Fatal Error: syntax error, unexpected T_FUNCTION - library/XenForo/Mail.php:362
 

borbole

Well-known member
ErrorException: Fatal Error: syntax error, unexpected T_FUNCTION - library/XenForo/Mail.php:362
Try to overwrite the file mentioned in the error message with a fresh one from the xenforo 1.2. package and see if it would help.
 

whynot

Well-known member
Downloaded and uploaded the whole upgrade package.
Uninstalled Resource Manager.
Cleared browser cache.
Used another browser.

The problem insist.


Code:
if ($emailIsRtl)
        {
            $__bodyHtml = preg_replace_callback('/<rtlcss>(.*)<\/rtlcss>/sU', function ($matches)
            {
                return XenForo_Template_Helper_RightToLeft::getRtlCss($matches[1]);
            }, $__bodyHtml);
        }
        else
Line 362:
$__bodyHtml = preg_replace_callback('/<rtlcss>(.*)<\/rtlcss>/sU', function ($matches)
 
Last edited:

whynot

Well-known member
It works,Mike.

I've had two error dialog message boxes when posting - it says the error message is in the javascript console.
Both posts were successful though so it seems to be cosmetic.
Make that three - it happened again.
That came from one of the members before patching mail.php.
 
Top