Parse error with functions.php
-
Hi I hope someone can help as I’ve just killed my website.
I updated the functions.php code in my theme which was written for me by a website developer. It is based on twenty 11.
I updated the sidebar basically to change from </aside> to </div> and I got a parse error as follows
Parse error: syntax error, unexpected ”after_widget” (T_CONSTANT_ENCAPSED_STRING), expecting ‘)’ in /homepages/29/d496947996/htdocs/clickandbuilds/WordPress/ClubSite/wp-content/themes/PNSC/functions.php on line 32
As always I copied the original code into notepad before I made the change and so I just copied the original code straight back in but I still get the parse error when I press update!
I’ve seen this issue has happened before on this forum and the solution was to put the full twenty 11 functions php code back in – that didn’t work either.
I do not have FTP access to the site all I have is the wordpress menu so when I’ve seen this as a solution I don’t really understand what that means.
Please help I have spent ages developing this site so I would hate to have lost it all! Please reply in idiot speak I am new to developing.
Thanks
The topic ‘Parse error with functions.php’ is closed to new replies.