Title: mobile-detect.php does not exist
Last modified: August 31, 2016

---

# mobile-detect.php does not exist

 *  [cody.me](https://wordpress.org/support/users/codyme/)
 * (@codyme)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/mobile-detectphp-does-not-exist/)
 * hi there. first of all I want to thank you for the awesome plugin.
    I installed
   mobile detect for wp plugin on a wordpress multi-site installation, and when 
   I activated the plugin I got this error message that mobile detect does not exist
   in the directory (refering to line 33 wp-mobile-detect.php file, require_once(‘
   mobile-detect.php’);). I fixed this by changing it to require_once( plugin_dir_path(
   __FILE__ ) . ‘mobile-detect.php’); I thought to mention it here in case someone
   else is experiencing the same issue.
 * [https://wordpress.org/plugins/wp-mobile-detect/](https://wordpress.org/plugins/wp-mobile-detect/)

The topic ‘mobile-detect.php does not exist’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [cody.me](https://wordpress.org/support/users/codyme/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/mobile-detectphp-does-not-exist/)
 * Status: not resolved