• I tried to copy and paste some code from a website – trying to add a favicon.
    my site is not working now and my admin come out with the following message:

    Parse error: syntax error, unexpected ‘<‘ in /home/content/04/4807104/html/wp-content/themes/autofocus/functions.php on line 731

    how can i fix this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • there was probably an error in the code that you pasted into functions.php you may need to add a backslash (“\”) before the “<” to fix it, or try reinserting the code.

    Thread Starter drawn-association

    (@drawn-association)

    Thanks STDestiny –
    However – I can’t get into the Editor to change the code now.

    Can’t get into appearance/editor, or into XML-Sitemap…

    Any ideas of How do I fix that if I can’t get into the code?

    do you have ftp access to your site? you can download that particular file from your server, edit it on your computer, then reupload it.

    Thread Starter drawn-association

    (@drawn-association)

    Yes, and YES! this fixed the problem! Huge thanks to you STDestiny!

    1/went to the FTP site
    2/chose from the directory the offending error file,
    3/backdated it by one day [using History] and
    4/saved with a ‘1’ at the end.
    5/went back to current files, renamed the error file with a ‘2’.
    6/renamed the ‘1’ file by deleting the ‘1’.

    7/ error disappeared, and site is back up and running.

    Bless You!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘what does this syntax error message mean?’ is closed to new replies.