Title: errors
Last modified: August 22, 2016

---

# errors

 *  Resolved [vulcansky](https://wordpress.org/support/users/vulcansky/)
 * (@vulcansky)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/errors-81/)
 * hi, great plugin, hoping I can get it to work, but having trouble with it,
 * after filling out the 4 settings… I get lines of errors:
 *  Warning: Illegal string offset ‘front’ in /h…….public_html/wp-content/plugins/
   jetpack-mobile-theme-ads/jp-minileven-ads.php on line 165
    checked=’checked’ /
   > Front Page, Archive Pages, and Search Results Warning: Illegal string offset‘
   post’ in /h…..wp-content/plugins/jetpack-mobile-theme-ads/jp-minileven-ads.php
   on line 170 checked=’checked’ /> Posts Warning: Illegal string offset ‘page’ 
   in …..public_html/wp-content/plugins/jetpack-mobile-theme-ads/jp-minileven-ads.
   php on line 175 checked=’checked’ /> Pages
 * I use google adsense and I’m ok with knowing how to complete the settings with
   the correct info.
 * I have tried uninstalling and reinstalling your plug-in. no change.
 * TIA
 * [https://wordpress.org/plugins/jetpack-mobile-theme-ads/](https://wordpress.org/plugins/jetpack-mobile-theme-ads/)

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

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [11 years, 9 months ago](https://wordpress.org/support/topic/errors-81/#post-5182005)
 * Could you try to deactivate all other plugins on your site, one at a time, and
   let me know if you find a conflicting plugin?
 * Thanks!
 *  [joliu2001](https://wordpress.org/support/users/joliu2001/)
 * (@joliu2001)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/errors-81/#post-5182233)
 * I have the same problem. Is there a solution to this yet? Since I have some 20
   active plugins, deactivating them all one by one might not be be very efficient.
   
   Thanks.
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [11 years, 6 months ago](https://wordpress.org/support/topic/errors-81/#post-5182236)
 * > Is there a solution to this yet? Since I have some 20 active plugins, deactivating
   > them all one by one might not be be very efficient.
 * I’m afraid I can’t reproduce the issue on my end, so the only way for me to find
   out more about the problem is to eliminate possible conflicts with other plugins.
 * If we can limit the problem to a specific combination of plugins, I may be able
   to understand what’s causing the issue.
 * Thanks!
 *  [vagamundosblog](https://wordpress.org/support/users/vagamundosblog/)
 * (@vagamundosblog)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/errors-81/#post-5182241)
 * Hi,
 * I had the same problem. I’m not an expert, but as a workaround, I tried removing
   the piece of php code that was causing the error. Then I just wrote the html 
   attribute instead. That is:
 * Remove:
    <?php checked( 1, $options[‘show’][‘front’], true ); ?> Write: checked
   =’checked’
 * Remove:
    <?php checked( 1, $options[‘show’][‘post’], true ); ?> Write: checked
   =’checked’
 * Remove:
    <?php checked( 1, $options[‘show’][‘page’], true ); ?> Write: checked
   =’checked’
 * Now I can see the ad in my mobile theme. I wanted everything “checked”. I don’t
   know if this workaround works for other configurations.

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

The topic ‘errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jetpack-mobile-theme-ads_82a93e.svg)
 * [Mobile Theme Ads for Jetpack](https://wordpress.org/plugins/jetpack-mobile-theme-ads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack-mobile-theme-ads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack-mobile-theme-ads/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack-mobile-theme-ads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack-mobile-theme-ads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack-mobile-theme-ads/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [vagamundosblog](https://wordpress.org/support/users/vagamundosblog/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/errors-81/#post-5182241)
 * Status: resolved