Title: Warning: Illegal string offset &#039;class&#039;
Last modified: August 31, 2016

---

# Warning: Illegal string offset 'class'

 *  Resolved [myasseen](https://wordpress.org/support/users/myasseen/)
 * (@myasseen)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/warning-illegal-string-offset-class/)
 * hello,
 * I have this warning when I use the plugin
 * Warning: Illegal string offset ‘class’ in /plugins/default-featured-image/set-
   default-featured-image.php on line 211
 * [https://wordpress.org/plugins/default-featured-image/](https://wordpress.org/plugins/default-featured-image/)

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

 *  Plugin Author [Jan-Willem](https://wordpress.org/support/users/janwoostendorp/)
 * (@janwoostendorp)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/warning-illegal-string-offset-class/#post-7262199)
 * Hi myasseen,
 * Quite a rare situation you have here.
    It’s harmless and if you turn off the 
   errors (or the display) it won’t give problems.
 * Of course I don’t want warnings and notices. I have time on friday to fix this
   permanent.
    Expect a normal plugin update.
 *  Thread Starter [myasseen](https://wordpress.org/support/users/myasseen/)
 * (@myasseen)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/warning-illegal-string-offset-class/#post-7262200)
 * eagerly waiting 🙂
    Thank you.
 *  Plugin Author [Jan-Willem](https://wordpress.org/support/users/janwoostendorp/)
 * (@janwoostendorp)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/warning-illegal-string-offset-class/#post-7262248)
 * I’ve released an update yesterday. That should fix this warning.
 *  Thread Starter [myasseen](https://wordpress.org/support/users/myasseen/)
 * (@myasseen)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/warning-illegal-string-offset-class/#post-7262250)
 * Thanks you very much Janw for your support, this fixed my problem.

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

The topic ‘Warning: Illegal string offset 'class'’ is closed to new replies.

 * ![](https://ps.w.org/default-featured-image/assets/icon-256x256.jpg?rev=1058491)
 * [Default Featured Image](https://wordpress.org/plugins/default-featured-image/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/default-featured-image/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/default-featured-image/)
 * [Active Topics](https://wordpress.org/support/plugin/default-featured-image/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/default-featured-image/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/default-featured-image/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [myasseen](https://wordpress.org/support/users/myasseen/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/warning-illegal-string-offset-class/#post-7262250)
 * Status: resolved