Support » Fixing WordPress » kinda messed up need to know how to fix this

  • Resolved kalel0227


    i was trying to add another sidebar found it didnt work so i removed the code that i put in and now i get this error how do i fix it
    Parse error: syntax error, unexpected ‘<‘ in /home/content/66/6416166/html/home/wp-content/themes/arras/functions.php on line 187

Viewing 15 replies - 1 through 15 (of 32 total)
  • copy the code from functions.php file and paste in After that share the pastebin link here. We will check the code and try to resolve it.

    Open the file in the editor (or an editor), go to line 187 (numbered pages usually in one of the lower corners of the editor) and find the < symbol (no quotes) near where you were editing then, simply delete it and save the file… left-over junk is all….

    Open you functions.php file go to line 187 and delete the < that’s just hanging out there

    it wont let me every time i go to get on the website it gives me that code

    FTP to the site and change it that way…. OR rename the theme folder to theme.bak and you’ll get the default template

    Of course, the errant < may be there due to the “editor” (the non plain text editor used?/ file format issues?)

    ok ill be honest im a hardware guy i understand what your telling me but i have no clue how to do it

    what i did i was doing over the internet

    I really don’t know what to tell you unless the website has a “control panel” and you can get to the files through some sort of file manager however:

    Get filezilla
    ftp to the site use:
    ‘username’ for the ftp user sometimes the same as admin username for the site

    Navigate to the wp-contents/themes/ folder and locate the theme and then the file or simply rename the broken theme to theme.broke and you’ll get to the ‘’ and fix that way…

    Who put the site there for you? Who’s your host?

    im not sure i am not the site owner im just an admin for the site i was trying to add another side bar for him and was following some stuff and i added a wrong code to wrong place now i cant even get to the sight to fix it or change it
    im trying filezilla but im not having any luck because i dont know what im doing

    you put the wrong thing on pastebin. download the file in your local machine .then open the file and copy the entire code and paste on the Then we can check the code of that file. Does make sense?

    how do i find the file on my local machine?

    the website is when i try to open it i get that code located above

    You need to use FTP access to fix this – you will need to get that info from your hosting company. Then download a new copy of your theme to you local computer and from that theme use the new functions file to replace the one you messed up.

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘kinda messed up need to know how to fix this’ is closed to new replies.