Title: Parse error: syntax error, unexpected&#8230;
Last modified: August 20, 2016

---

# Parse error: syntax error, unexpected…

 *  [The Rasch](https://wordpress.org/support/users/the-rasch/)
 * (@the-rasch)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-37/)
 * Hi there!
 * I´ve just installed a new theme for my site…
    And once activated…when I open 
   my page I get this error:
 * _Parse error: syntax error, unexpected ‘”‘, expecting ‘)’ in /var/www/web44/html/
   wordpress/wp-content/themes……dom.php on line 532_
 * Line 532 is looking like this:
 * _protected static $xpath = array(‘id’ => “@id = ‘%s'”, ‘class’ => “contains(concat(‘‘,
   normalize-space(@class), ‘ ‘), ‘ %s ‘)”, ‘attr’ => “@%s”, ‘contains’ => “contains(
   string(.), ‘%s’)”, ‘not’ => ‘not(%s)’, ‘operators’ => array(“=” => “@%1 = ‘%3′”,“!
   =” => “not(@%1) or @%1 != ‘%3′”, “^=” => “starts-with(@%1, ‘%3’)”, “$=” => “substring(
   @%1, (string-length(@%1) – string-length(‘%3’) + 1)) = ‘%3′”, “*=” => “contains(
   @%1, ‘%3’)”, “~=” => “contains(concat(‘ ‘, normalize-space(@%1), ‘ ‘), ‘ %3 ‘)”,“
   |=” => “@%1 = ‘%3’ or starts-with(@%1, ‘%3-‘)”), ‘pseudos’ => array(‘first-child’
   => ‘not(preceding-sibling::*)’, ‘last-child’ => ‘not(following-sibling::*)’, ‘
   only-child’ => ‘not(preceding-sibling::* or following-sibling::*)’, ‘enabled’
   => “not(@disabled) and (@type!=’hidden’)”, ‘disabled’ => “(@disabled) and (@type!
   =’hidden’)”, ‘first’ => ‘position() = 1’, ‘last’ => ‘last()’, ’empty’ => ‘count(*)
   = 0 and (count(text()) = 0)’, ‘checked’ => ‘@checked’), ‘combinators’ => array(‘
   >’ => ‘child’, ‘~’ => ‘general-sibling’,_
 * Can anybody see what´s the issue???????
    I´m totally confused…
 * Would love to get help!
 * Thanx!
 * The Rasch

Viewing 1 replies (of 1 total)

 *  [Christi Nickerson](https://wordpress.org/support/users/christini/)
 * (@christini)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-37/#post-2392589)
 * Hi The Rasch,
 * Sounds like there’s an issue with that theme. If you can get into your dashboard
   I would recommend changing the theme in the dashboard. If you are unable to get
   into your WordPress dashboard, you can rename the theme folder (either using 
   your web host’s File Manager or an FTP program). This will force WordPress to
   switch to the default theme so you can then open your site and get into your 
   dashboard.
 * Hope this helps!

Viewing 1 replies (of 1 total)

The topic ‘Parse error: syntax error, unexpected…’ is closed to new replies.

## Tags

 * [Unexpected](https://wordpress.org/support/topic-tag/unexpected/)

 * 1 reply
 * 2 participants
 * Last reply from: [Christi Nickerson](https://wordpress.org/support/users/christini/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-37/#post-2392589)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
