Title: Mobile theme appears only randomly
Last modified: April 30, 2017

---

# Mobile theme appears only randomly

 *  [japanworm](https://wordpress.org/support/users/japanworm/)
 * (@japanworm)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/mobile-theme-appears-only-randomly/)
 * Hello,
    I’ve been using WPTouch for quite some time now (2 years?). I have the
   pro version, but have not updated my license. And as long as it seems that things
   aren’t working, I won’t pay a lot of money to renew soemthing that doesn’t work
   properly.
 * Before anyone replies with the standard answer, let me tell you that this happens
   WITHOUT a cache plugin!
 * It seems completely random. Sometimes the mobile version appears, sometimes the
   desktop version. The link in the footer won’t let me switch.
    Sometimes the mobile
   version even appars on a desktop browser. Again, the footer switcher won’t let
   me switch.
 * I can’t be the only one with this problem.
    Anybody could figure out how to solve
   this when it’s NOT cache plugin related?
 * Query Monitor shows the following:
    [](https://i0.wp.com/i66.tinypic.com/29ehgll.jpg)
 * Thank you so much in advance. 🙂
    -  This topic was modified 9 years, 1 month ago by [japanworm](https://wordpress.org/support/users/japanworm/).
    -  This topic was modified 9 years, 1 month ago by [japanworm](https://wordpress.org/support/users/japanworm/).
    -  This topic was modified 9 years, 1 month ago by [japanworm](https://wordpress.org/support/users/japanworm/).

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

 *  Plugin Contributor [WPtouch](https://wordpress.org/support/users/wptouch/)
 * (@wptouch)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/mobile-theme-appears-only-randomly/#post-9090415)
 * Hi [@japanworm](https://wordpress.org/support/users/japanworm/),
 * Can you share the URL of the website in question? We’ll be happy to take a closer
   look.
 * The error you see in the screenshot is benign and won’t cause any functionality
   issues.
 * _[ [Signature moderated](https://make.wordpress.org/support/handbook/forum-welcome/#avoid-signatures)]_
 *  Thread Starter [japanworm](https://wordpress.org/support/users/japanworm/)
 * (@japanworm)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/mobile-theme-appears-only-randomly/#post-9090471)
 * Hello,
 * Thank you very much for getting back.
    The URL is: [http://zoomingjapan.com/](http://zoomingjapan.com/)
 *  Thread Starter [japanworm](https://wordpress.org/support/users/japanworm/)
 * (@japanworm)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/mobile-theme-appears-only-randomly/#post-9091815)
 * I also have the following errors when I turn on WP_DEBUG:
 *     ```
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WPtouchArrayIterator has a deprecated constructor in /home/zoomingj/public_html/wp-content/plugins/wptouch-pro/core/class-array-iterator.php on line 3
   
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WPtouchProFour has a deprecated constructor in /home/zoomingj/public_html/wp-content/plugins/wptouch-pro/core/class-wptouch-pro.php on line 2
   
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WPtouchProDebug has a deprecated constructor in /home/zoomingj/public_html/wp-content/plugins/wptouch-pro/core/class-wptouch-pro-debug.php on line 18
   
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WPtouchDefaultSettings30 has a deprecated constructor in /home/zoomingj/public_html/wp-content/plugins/wptouch-pro/core/class-wptouch-pro-settings.php on line 19
   
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WPtouchDefaultSettingsBNCID30 has a deprecated constructor in /home/zoomingj/public_html/wp-content/plugins/wptouch-pro/core/class-wptouch-pro-settings.php on line 119
   
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WPtouchDefaultSettingsCompat has a deprecated constructor in /home/zoomingj/public_html/wp-content/plugins/wptouch-pro/core/class-wptouch-pro-settings.php on line 141
   
       Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WPtouchDefaultSettingsMultisite has a deprecated constructor in /home/zoomingj/public_html/wp-content/plugins/wptouch-pro/core/class-wptouch-pro-settings.php on line 148
   
       Warning: Declaration of description_walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /home/zoomingj/public_html/wp-content/themes/alltuts/functions.php on line 499
       ```
   
 *  Plugin Contributor [WPtouch](https://wordpress.org/support/users/wptouch/)
 * (@wptouch)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/mobile-theme-appears-only-randomly/#post-9094655)
 * Thank you for the URL. I’m taking a look and see the desktop on a mobile device,
   as you describe. What version of WPtouch/Pro is the site running?
 * Even if the site doesn’t have a cache plugin installed, please contact your web
   host and ask if there is _any_ type of caching system that may be running server
   side. If it is, it should be configured to ignore the WPtouch user agents. You
   can find the user agent list below.
 *     ```
       iPhone
       iPod
       Android
       BB10
       BlackBerry
       webOS
       IEMobile/7.0
       IEMobile/9.0
       IEMobile/10.0
       MSIE 10.0
       iPad
       PlayBook
       Xoom 
       P160U
       SCH-I800
       Nexus 7
       Touch
       ```
   
 * _[ [Signature moderated](https://make.wordpress.org/support/handbook/forum-welcome/#avoid-signatures)]_
 *  Thread Starter [japanworm](https://wordpress.org/support/users/japanworm/)
 * (@japanworm)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/mobile-theme-appears-only-randomly/#post-9094788)
 * Thank you, Emilio.
 * I have contacted my hosting service to clarify this and see if I can implement
   it.
 * I’m currently running version 4.1.1 of WPTouch Pro.
 * In fact, [my Dashboard is a mess at the moment](https://wordpress.org/support/topic/dashboard-broken-displays-flashbacks-of-commentspluginsupdates/).
   
   If I have to describe it, it looks like a “flashback / caching” issue. I already
   freshly installed the WordPress core files, but this didn’t fix the problem. 
   I start thinking that those issues might all be related.
 * Once I’ve been able to fix my Dashboard issue and the WPTouch problem still remains,
   I’ll let you know.
 * Thanks again.
 *  Thread Starter [japanworm](https://wordpress.org/support/users/japanworm/)
 * (@japanworm)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/mobile-theme-appears-only-randomly/#post-9095040)
 * Hello again.
 * I was able to resolve my other problems by completely turning off the server 
   caching in .htaccess.
 * However, the WPTouch issue remains, so it was unrelated to the other issues.
 * Absolutely **ZERO caching** is going on now.

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

The topic ‘Mobile theme appears only randomly’ is closed to new replies.

 * ![](https://ps.w.org/wptouch/assets/icon-256x256.png?rev=1313960)
 * [WPtouch - Make your WordPress Website Mobile-Friendly](https://wordpress.org/plugins/wptouch/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wptouch/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wptouch/)
 * [Active Topics](https://wordpress.org/support/plugin/wptouch/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wptouch/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wptouch/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [japanworm](https://wordpress.org/support/users/japanworm/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/mobile-theme-appears-only-randomly/#post-9095040)
 * Status: not resolved