• I was trying to figure out how to turn off the “posted by admin” text in my function.php file but now my page wont work and I cant even get to my dashboard, i just get this message Parse error: syntax error, unexpected ‘*’ in /home2/acer/public_html/wp-content/themes/spun/functions.php on line 336. I need to get my site back up.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Using an FTP client such as FileZilla or your host provided File Management Tool, rename the existing functions.php file to old-functions.php and upload an unedited version. You can then download and review what went wrong with the original one. I discourage folks from ever using the WP theme editor for this very reason. Use FTP and keep an unedited copy.

    Thread Starter acerdesigngroup

    (@acerdesigngroup)

    Still didnt work for me, same message

    Are you using a child theme or a custom css plugin?

    Thread Starter acerdesigngroup

    (@acerdesigngroup)

    I am using the spun theme

    Are you using a child theme or a custom css plugin?

    Thread Starter acerdesigngroup

    (@acerdesigngroup)

    I believe I am just using a child theme

    I had the same problem today except i was just getting a white page. If you know what you changed in the funtions.php file, try to just undo it through FTP and delete all cache. That’s what did it for me, good luck!

    Thread Starter acerdesigngroup

    (@acerdesigngroup)

    How do I delete the cache

    You cannot do that without having access to your dashboard – not relevant as the same error still exists on your site.

    So now, using FTP, rename the spun theme folder –

    wordpress
        wp-content
            themes
               spunOLD (change the name on this folder)

    If you have a spun child theme folder, change the name on that one too.

    Thread Starter acerdesigngroup

    (@acerdesigngroup)

    ended up retrying to upload the functions folder and it worked, thank you so much

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Website stopped working, function.php’ is closed to new replies.