Title: Parse error, Syntax error
Last modified: August 20, 2016

---

# Parse error, Syntax error

 *  Resolved [udegbunamchuks](https://wordpress.org/support/users/strictlyonlinebiz/)
 * (@strictlyonlinebiz)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-61/)
 * Hi, I’m trying to get the plugin to work on localhost before deploying on my 
   site but it keeps giving me a parse error
 *  Parse error: syntax error, unexpected ‘}’ in C:\wamp\www\wordpress\wp-content\
   mobilepress\themes\default\single.php on line 68
 * This is the code I added
 * <?php if ( is_firefox($version) ) { do stuff }; ?>
 * Do I need to make modifications to the code?
 * Thanks
 * [http://wordpress.org/extend/plugins/php-browser-detection/](http://wordpress.org/extend/plugins/php-browser-detection/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mindshare Labs, Inc.](https://wordpress.org/support/users/mindshare/)
 * (@mindshare)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-61/#post-3611417)
 * You need to replace “do stuff” with whatever code you want to execute.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/php-browser-detection/assets/icon-256x256.png?rev=999338)
 * [PHP Browser Detection](https://wordpress.org/plugins/php-browser-detection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-browser-detection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-browser-detection/)
 * [Active Topics](https://wordpress.org/support/plugin/php-browser-detection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-browser-detection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-browser-detection/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Mindshare Labs, Inc.](https://wordpress.org/support/users/mindshare/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-61/#post-3611417)
 * Status: resolved