Title: Illegal String
Last modified: September 7, 2016

---

# Illegal String

 *  Resolved [ursecretweapon](https://wordpress.org/support/users/ursecretweapon/)
 * (@ursecretweapon)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/illegal-string-3/)
 * Warning: Illegal string offset ‘version’ in … plugins/widget-visibility/widget-
   visibility.php on line 58
 * Screenshot of what I’m seeing: [http://screencast.com/t/fTleCv2gJesd](http://screencast.com/t/fTleCv2gJesd)
 * Site: [http://shaktiinthemountains.com](http://shaktiinthemountains.com)
 * Thanks.

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

 *  [adambradford](https://wordpress.org/support/users/adambradford/)
 * (@adambradford)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/illegal-string-3/#post-8155438)
 * I’m getting this too.
 *  [tammy1999](https://wordpress.org/support/users/tammy1999/)
 * (@tammy1999)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/illegal-string-3/#post-8156143)
 * I am getting this also.
 * Warning: Illegal string offset ‘version’ in /wp-content/plugins/widget-visibility/
   widget-visibility.php on line 58
 *  [vinnyio](https://wordpress.org/support/users/vinnyio/)
 * (@vinnyio)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/illegal-string-3/#post-8156373)
 * I am guessing line 26 of widget-visibility.php should be changed from
 * `$plugin['plugin_headers'] = 'cycloneslider_service_plugin_headers';`
 * to
 * `$plugin['plugin_headers'] = 'widvis_service_plugin_headers';`
 * They seemed to have had some crossover with one of their other plugins
 *  [Laszlo Magyarfalvi](https://wordpress.org/support/users/lesbat/)
 * (@lesbat)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/illegal-string-3/#post-8156722)
 * Warning: Illegal string offset ‘version’ in /chroot/home/…../html/wp-content/
   plugins/widget-visibility/widget-visibility.php on line 58
 * Warning: Illegal string offset ‘version’ in /chroot/home/…./html/wp-content/plugins/
   widget-visibility/widget-visibility.php on line 58
 * In line 58: $object = $plugin[‘plugin_headers’][‘version’];
    -  This reply was modified 9 years, 8 months ago by [Laszlo Magyarfalvi](https://wordpress.org/support/users/lesbat/).
 *  [vinnyio](https://wordpress.org/support/users/vinnyio/)
 * (@vinnyio)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/illegal-string-3/#post-8156963)
 * [@lesbat](https://wordpress.org/support/users/lesbat/) Did you try what I suggested?
 *  Plugin Author [kosinix](https://wordpress.org/support/users/kosinix/)
 * (@kosinix)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/illegal-string-3/#post-8157233)
 * Hi everyone,
 * Sorry for the hassle. I made an unfortunate typo. This is now fixed. Please update
   to 1.3.1.
 * Thanks for the patience,
 * Best regards,
    Nico

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

The topic ‘Illegal String’ is closed to new replies.

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

## Tags

 * [illegal string](https://wordpress.org/support/topic-tag/illegal-string/)

 * 6 replies
 * 6 participants
 * Last reply from: [kosinix](https://wordpress.org/support/users/kosinix/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/illegal-string-3/#post-8157233)
 * Status: resolved