Title: Parse error
Last modified: August 19, 2016

---

# Parse error

 *  Resolved [valkyri](https://wordpress.org/support/users/valkyri/)
 * (@valkyri)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/parse-error-50/)
 * Downloaded a new theme, activated it and got
 * Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ‘(‘ in /home/sites/
   timspain.com/public_html/blogs/wp-content/themes/producer/functions.php on line
   11
 * now totally locked out and can’t do anything????????
 * I tried deleting the theme, and I end up with just a blank page.
 * Thanks…

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/parse-error-50/#post-1361133)
 * Ftp into your site and rename the wp-content/themes/producer folder.
 *  Thread Starter [valkyri](https://wordpress.org/support/users/valkyri/)
 * (@valkyri)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/parse-error-50/#post-1361213)
 * Deleting it or renaming it doesn’t work. All I end up with is a blank page.
 * [http://www.valkyri.org](http://www.valkyri.org)
 *  Thread Starter [valkyri](https://wordpress.org/support/users/valkyri/)
 * (@valkyri)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/parse-error-50/#post-1361245)
 * As it was a new install anyway, there was one post and I hadn’t done much, I 
   just blew away the database and started over again.
 *  [jobay](https://wordpress.org/support/users/jobay/)
 * (@jobay)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/parse-error-50/#post-1361496)
 * Heres a quick & easy little trick / solution i found which you could do. I got
   locked out due to a parse error after activating a new theme;
 * Step 1; Login into your hosting Cpanel.
 * Step 2; Click on phpMyAdmin under the “Databases” header or section.
 * Step 3; Click on your wordpress database on the left hand side.
    (If there is
   more than one database & you aren’t sure which database to select, check your
   wp-config.php file in the root location of your WordPress installation via your
   ftp or file borwaser or you will have to go through them 1 by 1 in phpMyAdmin
   just click on the first one & browse the data tables usually the “wp_users” table
   will give away which site the database belongs to otherwsie browse the inside
   of others perhaps posts to see a post from which ever blog the database belongs
   to.)
 * Step 4; Once the correct Database is selected browse the “wp_options” table –
   you will probably have to goto page 2 & you are looking for “template” & “stylesheet”
   under the “option_name” header.
 * Step 5; Click Edit for the template option_name & in the option_value text field
   you will see your troublesome theme name just type over it default or classic
   which will change it to the default or classic theme or you can choose another
   if you know it by name – then just click on the “go” button.
 * Step 6; As in step 5 click edit for the stylesheet option_name & type the same
   theme name in say default or classic – then click the “go” button.
 * You should see your changes under the option_value section to both these options–
   you should now be able to close phpMyAdmin & refresh your wordpress blog page–
   it will load with what ever theme you chose & you should then be able to login
   to your worpress admin & change theme to something else – but proby try the one
   that 1st messed you up unless you get another copy or an update of some kind.
 * Hope this helps someone.
 *  [Kowboyy](https://wordpress.org/support/users/kowboyy/)
 * (@kowboyy)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/parse-error-50/#post-1361500)
 * Jobay, you are the man! thank you for the post it worked perfectly.

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

The topic ‘Parse error’ is closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)

 * 5 replies
 * 4 participants
 * Last reply from: [Kowboyy](https://wordpress.org/support/users/kowboyy/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/parse-error-50/#post-1361500)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
