After upgrading from 2.3.3 to 2.4.0 the following is shown:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/trainer/public_html/sapphire/core/SSViewer.php on line 304
This appeared after a rebuild was carried out. Now it is not possible to do another, as attempts to login fail.
Can anyone suggest the fix for this? The relevant block is:
$content = ereg_replace('<' . '% +_t\((\'([^\.\']*)\'|"([^\."]*)")(([^)]|\)[^ ]|\) +[^% ])*)\) +%' . '>', '<?= _t(\''. $identifier . '.ss' . '.\\2\\3\'\\4) ?>', $content);