I'm upgrading a Moodle instance from 2.4.3 to 2.6+. However, when I do the upgrade, I get an error message:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /*******/*******/public_html/pd/lib/setup.php on line 806
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /*******/*******/public_html/pd/lib/setup.php on line 806
Parse error: syntax error, unexpected T_STRING in //*******/*******/public_html/pd/lib/setup.php on line 806
Line 806 contains the following text:
\core\session\manager::start();
I have upgraded another installation (from 2.5 though) and that one works fine. The line is the same on the one that works.
Any ideas on how I can safely correct this?
Thanks.