Title: Illegal string offset &#8216;headers&#8217;
Last modified: October 21, 2016

---

# Illegal string offset ‘headers’

 *  Resolved [oldmankit](https://wordpress.org/support/users/oldmankit/)
 * (@oldmankit)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/illegal-string-offset-headers/)
 * All of my WordPress sites have started showing the following error on the front
   end:
 * `Illegal string offset 'headers' in .../plugins/email-log/email-log.php on line
   415`
 * A google search for the same reveals that I’m not the only one.

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

 *  [Sudar Muthu](https://wordpress.org/support/users/sudar/)
 * (@sudar)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/illegal-string-offset-headers/#post-8343187)
 * Thanks for reporting this issue.
 * Looks like this is happening because the filtered value for this email doesn’t
   have any headers. Ideally it should have headers and I am not sure why this is
   happening.
 * But I will make a fix so that it checks whether the header is available before
   trying to access it. You can track the progress of this issue at [https://github.com/sudar/email-log/issues/58](https://github.com/sudar/email-log/issues/58)
 *  Thread Starter [oldmankit](https://wordpress.org/support/users/oldmankit/)
 * (@oldmankit)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/illegal-string-offset-headers/#post-8366369)
 * Thanks for replying. I’ve subscribed to the github issue.
 *  [Sudar Muthu](https://wordpress.org/support/users/sudar/)
 * (@sudar)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/illegal-string-offset-headers/#post-8537090)
 * I have fixed this issue in master and it will be part of the next release.

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

The topic ‘Illegal string offset ‘headers’’ is closed to new replies.

 * ![](https://ps.w.org/email-log/assets/icon-256x256.png?rev=1710920)
 * [Email Log](https://wordpress.org/plugins/email-log/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-log/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-log/)
 * [Active Topics](https://wordpress.org/support/plugin/email-log/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-log/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-log/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Sudar Muthu](https://wordpress.org/support/users/sudar/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/illegal-string-offset-headers/#post-8537090)
 * Status: resolved