Title: wp_is_mobile() undefined function
Last modified: August 21, 2016

---

# wp_is_mobile() undefined function

 *  [xlightwaverx](https://wordpress.org/support/users/xlightwaverx/)
 * (@xlightwaverx)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/wp_is_mobile-undefined-function/)
 * Hi, I been using this for a few weeks now and I enjoy the customization features
   that are made available, but I literally just installed WordPress 3.9 and now
   I am receiving the following error on every single post I try to create with 
   WP-CLI:
 * PHP Fatal error: Call to undefined function wp_is_mobile() in /home/sitename.
   com/wp-content/plugins/fourteen-extended/inc/fourteenxt-customizer.php on line
   633
 * Anyway to bypass this or do I have uninstall the plugin?
 * Thanks.
 * X
 * [https://wordpress.org/plugins/fourteen-extended/](https://wordpress.org/plugins/fourteen-extended/)

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

 *  Plugin Author [Brian Harris](https://wordpress.org/support/users/zgani/)
 * (@zgani)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/wp_is_mobile-undefined-function/#post-4821378)
 * Hello,
 * I do not use WP-CLI and therefore have not been able to test the plugin with 
   it.
 * However I’m unable to replicate the issue with standard way of posting on both
   local and live servers with the latest version of WordPress.
 * > Anyway to bypass this or do I have uninstall the plugin?
 * The best solution I can afford you right now is to fork the plugin i.e rename
   it and then remove that function for now.
 * Let me know if that helps or not. I’ll try and get myself acquainted with WP-
   CLI and hopefully have a permanent solution in place as soon as I can.
 * Regards,
    Zulf
 *  [Zlatev](https://wordpress.org/support/users/entr/)
 * (@entr)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/wp_is_mobile-undefined-function/#post-4821525)
 * I feel this is more WP-CLI issue. They simply don’t load /wp-includes/vars.php
   as they use alternative wp-settings-cli.php file to load core.

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

The topic ‘wp_is_mobile() undefined function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/fourteen-extended.svg)
 * [Fourteen Extended](https://wordpress.org/plugins/fourteen-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fourteen-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fourteen-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/fourteen-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fourteen-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fourteen-extended/reviews/)

## Tags

 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)
 * [wp_is_mobile](https://wordpress.org/support/topic-tag/wp_is_mobile/)

 * 2 replies
 * 3 participants
 * Last reply from: [Zlatev](https://wordpress.org/support/users/entr/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/wp_is_mobile-undefined-function/#post-4821525)
 * Status: not resolved