• I recently tried to upload a new theme to an old website that I haven’t used for a few years (jamieqroberts.com). It seems the theme has crashed the site and I can’t even get to the login page anymore. I’m not sure what version of WP I was using.

    The error message I get: Parse error: syntax error, unexpected ‘(‘, expecting T_STRING in /home/droberts/webapps/jamie/wp-content/themes/nirvana/includes/theme-loop.php on line 330

    Can anyone help?

    Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Using an FTP Client such as FileZilla or your host provided file manager, rename the folder:

    /wp-content/themes/nirvana/

    to:

    /wp-content/themes/old-nirvana/

    WordPress will revert to a default theme. You can then switch to another theme if another was in use.

    And if it doesn’t auto-revert for any reason, you can change it manually in your db:

    Log into your db(phpmyadmin is popular in cPanel configs) –> select your database –> wp_options –> locate and change the two rows ‘template’ and ‘stylesheet’ to the name of another theme.

    Only use this method if the renaming doesn’t work and more of as a last resort option since improper editing of db could possibly mess things up further.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New theme crashed site’ is closed to new replies.