Forums

[resolved] Parse Error and Can't Connect via FTP to Fix (2 posts)

  1. williswired
    Member
    Posted 1 year ago #

    I added some code to the Custom_functions.php file on my Headway Theme as seen on this page (I copied-n-pasted the entire section of code in the box).

    After updating file, I got this error message ...

    Parse error: syntax error, unexpected T_FUNCTION in /home/*USERNAME*/williswired.com/wp-content/themes/headway-208/custom/custom_functions.php on line 48

    Worse, I am NOT been able to connect to my server via FTP to delete the code I added.

    Any ideas on how to fix this?

    I'm not a coder; I was just following directions. I've been using WordPress for a few years and have never had any major problems till now.

    Thanks!

  2. williswired
    Member
    Posted 1 year ago #

    Ah, I just fixed it. My webhost changed my server so I was trying to connect to the wrong one. So, I got in, deleted code -- now I can start over. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.