• Hi all,

    I’ve spent hours looking through the Support forums trying to find an answer to this and after following a few suggestions I just can’t manage to get this problem fixed.

    Currently my site is actually working and can be viewed okay in Firefox and IE8 and IE7, but the error consoles for each are showing two issues.

    The two errors I’m getting are as follows:

    Error: syntax error Source File: https://mydomain.com Line: 1 Source Code: <!DOCTYPE html>  
    
    Error: missing ; before statement Source File: *rootpath*/wp-content/themes/rushlondon/ Line: 2, Column: 3 Source Code: <b>Fatal error</b>:  Call to undefined function get_header() in <b>*rootpath*\wp-content\themes\rushlondon\index.php</b> on line <b>16</b><br />

    The theme itself is TwentyTen tweaked, and I’ve been back to the original code to compare what I’ve changed and what the possible problem could be but I can’t see anything obvious. I’ve also tried disabling all plugins, so I know for sure it’s my theme.

    Any help would be most appreciated! (URL isn’t available at the moment as I’m working off an edited hosts file!)

    Thanks!

  • The topic ‘Error: Call to undefined function get_header() & syntax error’ is closed to new replies.