Parse error: syntax error, unexpected T_LNUMBER
-
Hi,
I’ve had an odd problem occur. I went to view my site this morning and, instead of the home page, was greeted with:
Parse error: syntax error, unexpected T_LNUMBER in […..]/wp-content/themes/weaver/header.php on line 8
(the […] is obviously just to not bore you with the full file root)
I’ve searched the forum for other parse errors with this issue, but none of them offer me a solution.
The first 8 lines of my weaver/header.php are
1 <?php
2 /**
3 * The Header for our theme.
4 *
5 * Displays all of the <head> section and everything up till <div id=”main”>
6 *
7 */
8 ?><!DOCTYPE html>I have never edited these. Last night I did edit this file lower down after running theme-check plugin and being told there was a stray numeral in a line I had added to header.php a month ago to get the favicon to appear. So the only edit I have done before this error is to remove that stray numeral in the <link rel=”shortcut icon” line I had added.
I’m no expert, but I can’t see an error in line 8 which is I expect always as it has been since installing Weaver. Am I missing the wood for the trees?
- The topic ‘Parse error: syntax error, unexpected T_LNUMBER’ is closed to new replies.