• Hi

    My site was working fine and now I am getting the following error when I try to do anything! Cannot login to admin console and if I try to access site I just get the same error.

    Parse error: syntax error, unexpected $end in /home/content/42/11575542/html/wp-content/themes/customizr/functions.php on line 198

    If I reinstall WP will I loose all my content? What if I just reinstall the theme?

    Using Customizr theme on WP 3.7.1 (it was auto upgraded yesterday! but was working fine this morning.

    Any suggestions much appreciated. Fairly new to WP!

    Thanks

    Rob

Viewing 5 replies - 1 through 5 (of 5 total)
  • You should first rename your theme folder (via FTP) in order to regain access to your site.

    Thread Starter RobHartshorn

    (@robhartshorn)

    Not sure I understand what you mean. What do I do once I’ve renamed it? Do I reinstall just the theme? Do I need to save any files to save my content and then reinstall these files? I use a backup plugin (to dropbox) but can’t remember the exact name (and can’t access this info!) Would I be better to try and reinstall somehow from a backup?

    Thanks

    Rob

    Media X means you should FTP to your site to rename the folder. If you don’t know what that is, here’s some help.

    When you rename you theme folder, it will switch to the default theme and you should be able to access your site. Afterwards you should check with your theme author(s) if the theme works with the latest version of WP. Did you add any code to your theme’s functions.php?

    Thread Starter RobHartshorn

    (@robhartshorn)

    Ni Media x
    Thanks for help.
    I was trying to change the function.php with some basic code (as per WP support) to remove the web field that is displayed in the comments on a post (it didn’t work so I simply removed it again and updated the function.php file to go back to the original code). Have also tried to copy the code from the original function.php file (which is exactly the same) but I still get the same error. Haven’t altered any other files so not sure why this wouldn’t be OK?

    Cheers
    Rob

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Syntax Error Message – unexpected $end…’ is closed to new replies.