Title: PHP Warning Illegal offset
Last modified: August 24, 2016

---

# PHP Warning Illegal offset

 *  Resolved [gongl](https://wordpress.org/support/users/gongl/)
 * (@gongl)
 * [11 years ago](https://wordpress.org/support/topic/php-warning-illegal-offset/)
 * hi
 * i have the plugin active, but did not make a source set. Now i get an PHP Warning.
   
   Can you fix it, please?
 * PHP Warning: Illegal offset type in isset or empty in …/plugins/truenorth-srcset/
   class.tn-srcset.php on line 315
    PHP Warning: Illegal offset type in isset or
   empty in …/plugins/truenorth-srcset/class.tn-srcset.php on line 328
 * Best regards gongl
 * [https://wordpress.org/plugins/truenorth-srcset/](https://wordpress.org/plugins/truenorth-srcset/)

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

 *  Plugin Contributor [Eric Holmes](https://wordpress.org/support/users/ew_holmes/)
 * (@ew_holmes)
 * [11 years ago](https://wordpress.org/support/topic/php-warning-illegal-offset/#post-6038549)
 * Hi gongl,
 * Thanks for finding this. In the next day or two, I will push up an update to 
   fix this.
 * Eric
 *  Plugin Contributor [Eric Holmes](https://wordpress.org/support/users/ew_holmes/)
 * (@ew_holmes)
 * [11 years ago](https://wordpress.org/support/topic/php-warning-illegal-offset/#post-6038550)
 * For some more information – where are you seeing these warnings? Admin? Front
   end?
 * Thanks again,
 * Eric
 *  Plugin Contributor [Eric Holmes](https://wordpress.org/support/users/ew_holmes/)
 * (@ew_holmes)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/php-warning-illegal-offset/#post-6038632)
 * Hi Gongl, this has been addressed and will be included in the next update.
 *  Plugin Author [ben.moody](https://wordpress.org/support/users/benmoody/)
 * (@benmoody)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-warning-illegal-offset/#post-6038651)
 * closed

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

The topic ‘PHP Warning Illegal offset’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/truenorth-srcset_0e658e.svg)
 * [SrcSet Responsive Images for Wordpress](https://wordpress.org/plugins/truenorth-srcset/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/truenorth-srcset/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/truenorth-srcset/)
 * [Active Topics](https://wordpress.org/support/plugin/truenorth-srcset/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/truenorth-srcset/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/truenorth-srcset/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [ben.moody](https://wordpress.org/support/users/benmoody/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/php-warning-illegal-offset/#post-6038651)
 * Status: resolved