Title: Debug warnings
Last modified: August 21, 2016

---

# Debug warnings

 *  [MarrsAttax](https://wordpress.org/support/users/marrsattax/)
 * (@marrsattax)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/debug-warnings/)
 * Plugin gives the following warnings when debugging is turned on
 * Notice: Undefined index: switch_for_tablets in /wp-content/plugins/mobile-smart/
   mobile-smart.php on line 850
    Notice: has_cap was called with an argument that
   is deprecated since version 2.0! Usage of user levels by plugins and themes is
   deprecated. Use roles and capabilities instead. in //wp-includes/functions.php
   on line 3193
 * [https://wordpress.org/plugins/mobile-smart/](https://wordpress.org/plugins/mobile-smart/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [dolby_uk](https://wordpress.org/support/users/dolby_uk/)
 * (@dolby_uk)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/debug-warnings/#post-4898755)
 * Thanks for the report, I need to sort that out.

Viewing 1 replies (of 1 total)

The topic ‘Debug warnings’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [dolby_uk](https://wordpress.org/support/users/dolby_uk/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/debug-warnings/#post-4898755)
 * Status: not resolved