The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] OMG...Got a fatal T-string error after working on Thesis custom functions file. (7 posts)

  1. CJNJ79
    Posted 4 years ago #

    Was working on the custom.functions PHP file.

    Got the syntax error, scraped the file onto my notepad so that I could take out the hooks/code and rebuild, one function at a time.

    Wiped the slate clean, up to the point where it said "put in your custom code after this line."

    Hit Save.

    Got this:
    Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/carajones/shooterschoiceguns.com/wp-content/themes/thesis_182/custom/custom_functions.php on line 20

    I cannot access any of Thesis functions or editors now. I cannot access my website.

    I appreciate any help you can give. I'm feeling kind of sick over this.

  2. Rev. Voodoo
    Posted 4 years ago #

    Well, you must have accidentally deleted an extra bit of punctuation or something

    Best bet is to put a clean version of the file back on your site from a fresh download of the theme

    Since you don't have access to your site, this is done via ftp (filezilla is good and free) or a file manager if your host offers one (many do)

  3. CJNJ79
    Posted 4 years ago #

    Hi Voodoo

    first, thank you for your response!

    I have a free HTML editor and the filezilla FTP client.

    I found the original php file. Apparently if you mess up with the php coding in Thesis, it can disable the site. so I do understand that I have to restore that file to the original somehow.

    Can you try to walk me through as to how to re-upload the original file to the right place within my FTP client?

    thank you again

  4. CJNJ79
    Posted 4 years ago #

    I was able to uninstall and re-install the Thesis theme.

    Everything was restored. Thanks again

  5. Rev. Voodoo
    Posted 4 years ago #

    Yup, that'll work too! I wasn't sure how much customizing you had done! Glad you got it sorted out

  6. trisha140
    Posted 3 years ago #

    Hi, I have the same kind of issue

    When I try to go to my blog http://showyoumindblog.com/wp-admin this comes up:
    "Parse error: syntax error, unexpected T_STRING in /home/trisha14/public_html/wp-content/themes/brunelleschi/functions.php on line 168"

    I accidentally changed something in the CSS.. but now I can't even log into my dashboard or ANYTHING! Please help... How do I get back into dashboard?


  7. Andrew Nevins
    Forum moderator
    Posted 3 years ago #


    Create your own thread on the issue and attempt the solutions in this thread.

Topic Closed

This topic has been closed to new replies.

About this Topic