Jump to content
Sign in to follow this  
kerri

How do I fix a simple mistake in funtions.php?

Recommended Posts

kerri

I accidentally screwed something up in my functions.php by adding a couple of hard returns at the end of the code. I removed the hard returns, but it is still returning this error. Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/kerpar/apopofpretty.com/wp-content/themes/platformpro/functions.php on line 16 Can you help me fix it? (urgently) Thanks

Share this post


Link to post
Share on other sites
Simon
You should never edit the main functions.php, thats what the child theme platformbase is for. Download a fresh copy from https://www.pagelines.com/launchpad/member.php and reupload the clean functions file. While your at it, download platformbase and install that. ;)

Share this post


Link to post
Share on other sites
kerri
Thanks. I just re-uploaded a fresh copy to wp-admin on my host, but when I type in my web address, the error is still there.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×