Title: Fatal Error
Last modified: August 30, 2016

---

# Fatal Error

 *  [Jake Reimer](https://wordpress.org/support/users/jake-reimer/)
 * (@jake-reimer)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-1816/)
 * Everytime I try installing this plugin an error message pops up that says “Parse
   error: syntax error, unexpected ‘}’, expecting ‘{‘ in /home4/ab84799/public_html/
   wp-content/plugins/wp-mobile-detect/mobile-detect.php on line 29′”. I don’t know
   the problem but if anyone could help that would be great, thanks!
 * [https://wordpress.org/plugins/wp-mobile-detect/](https://wordpress.org/plugins/wp-mobile-detect/)

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

 *  [Pete](https://wordpress.org/support/users/perthmetro/)
 * (@perthmetro)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-1816/#post-6588729)
 * Same here
 *  [cmisak](https://wordpress.org/support/users/cmisak/)
 * (@cmisak)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-1816/#post-6588732)
 * +1
 *  [wpriley](https://wordpress.org/support/users/wpriley/)
 * (@wpriley)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-1816/#post-6588734)
 * I have the same issue on line 29 as well.
 * Would appreciate any help.
 * Thanks.
 *  [spabav](https://wordpress.org/support/users/spabav/)
 * (@spabav)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-1816/#post-6588737)
 * Same error here:
    “Fatal error: Cannot redeclare class Mobile_Detect in /var/
   www/abcdef.com/wp-content/plugins/wp-mobile-detect/mobile-detect.php on line 
   29 “
 * Can anybody help please?
 *  [cmisak](https://wordpress.org/support/users/cmisak/)
 * (@cmisak)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-1816/#post-6588738)
 * Can’t take credit – Sorry for whoever wrote this I can’t even cite it. But add
   on line 33-35 to replace the require_once in the wp-mobile-detect.php file. I
   included a screenshot
 * if (!class_exists(‘Mobile_Detect’)) {
 *  require_once(‘mobile-detect.php’);
 * }
 * [http://prntscr.com/a3p773](http://prntscr.com/a3p773)

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

The topic ‘Fatal Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-mobile-detect.svg)
 * [WP Mobile Detect](https://wordpress.org/plugins/wp-mobile-detect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mobile-detect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mobile-detect/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mobile-detect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mobile-detect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mobile-detect/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [cmisak](https://wordpress.org/support/users/cmisak/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-1816/#post-6588738)
 * Status: not resolved