Title: Parse error unexpected T_STRING
Last modified: August 20, 2016

---

# Parse error unexpected T_STRING

 *  [DeathsDoorProds](https://wordpress.org/support/users/deathsdoorprods/)
 * (@deathsdoorprods)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/parse-error-unexpected-t_string-3/)
 * I recently got the darkonyx plugin and it was working but then I tried to access
   my CP and got this error message.
 * Parse error: syntax error, unexpected T_STRING in /home/dead2010/domains/deathsdoorprods.
   com/public_html/darkonyx/panel/system/PlayerConfig.php on line 3
 * I posted something on their boards but since this is a WordPress error message
   I figured I should post one here. Here is the first few lines of code from the
   directory
 * <?php
    $config = array(); $config[‘website_title’] = ‘Death’s Door Prods’; $config[‘
   website_url’] = ‘[http://www.deathsdoorprods.com/&#8217](http://www.deathsdoorprods.com/&#8217);;
   $config[‘player_mode’] = ‘auto’; $config[‘viewers’] = ‘1’; $config[‘video_base’]
   = ‘javascript’;
 * Anyone know how to fix this?

Viewing 1 replies (of 1 total)

 *  [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/parse-error-unexpected-t_string-3/#post-2481203)
 * Either encapsulate the variable’s value with double quotes, or escape the single
   quote…
 *     ```
       $config['website_title'] = 'Death's Door Prods';
       ```
   
 *     ```
       $config['website_title'] = 'Death\'s Door Prods';
       $config['website_title'] = "Death's Door Prods";
       ```
   

Viewing 1 replies (of 1 total)

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Jay](https://wordpress.org/support/users/phyrax/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/parse-error-unexpected-t_string-3/#post-2481203)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
