Title: Parse error: syntax error
Last modified: August 22, 2016

---

# Parse error: syntax error

 *  [Grogser](https://wordpress.org/support/users/grogser/)
 * (@grogser)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-93/)
 * Hi Guys apologies I see a lot of posts like this but I’m new and not 100% sure
   how to resolve this – Error message now coming up when i try to visit my site
 * Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘,’
   or ‘;’ in /home/u814584542/public_html/wp-content/themes/gt3-wp-oyster/functions.
   php on line 208
 * Here is line 208 i have no idea what I’m supposed to be looking for as I don’t
   understand the code part of it all … If someone can help it would be greatly 
   appreciated …
 *     ```
       echo '<div class="custom_bg img_bg" style="background-image: url('' . $bgimg_url . ''); background-color:#' . $bgcolor_hash . ';"></div>'
       ```
   
 * Thanks – Mark

Viewing 1 replies (of 1 total)

 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-93/#post-5468555)
 * Try:
 *     ```
       echo '<div class="custom_bg img_bg" style="background-image: url("' . $bgimg_url . '"); background-color:#' . $bgcolor_hash . ';"></div>';
       ```
   
 * ps. please try to use backticks when inputting code; helps some to better read
   what may be wrong. 🙂

Viewing 1 replies (of 1 total)

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-93/#post-5468555)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
