Title: Fatal Error Class &#039;Mobile_Detect&#039;
Last modified: August 30, 2016

---

# Fatal Error Class 'Mobile_Detect'

 *  [TheDataBuddy](https://wordpress.org/support/users/thedatabuddy/)
 * (@thedatabuddy)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-class-mobile_detect/)
 * Hello, my site has went down due to the following error, can anyone help me understand
   what this is? Someone’s help would be very helpful.
 *  Fatal error: Class ‘Mobile_Detect’ not found in /home2/ab76711/public_html/clickliverpool.
   com/wp-content/plugins/1/includes/embed.php on line 3
 *     ```
       <?php
   
       $detect = new Mobile_Detect;
       //If this isn't a mobile device add these actions
       if (!$detect->isMobile()) {
       	add_action('wp_enqueue_scripts','dc_ln_add_scripts');
       	add_action('wp_head','dc_ln_wp_head');
       ```
   
 * Thats the top few lines of code from embed.php

Viewing 1 replies (of 1 total)

 *  [Matthew](https://wordpress.org/support/users/kidsguide/)
 * (@kidsguide)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-class-mobile_detect/#post-6510773)
 * There is something wrong with the plugin. You will need to go into your FTP and
   rename the plugins folder. Then you can log into your website and tend to the
   plugin. I would try reinstalling the plugin to see if it works.

Viewing 1 replies (of 1 total)

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

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [mobile detect](https://wordpress.org/support/topic-tag/mobile-detect/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Matthew](https://wordpress.org/support/users/kidsguide/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-class-mobile_detect/#post-6510773)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
