Title: Undefined offset error
Last modified: August 30, 2016

---

# Undefined offset error

 *  Resolved [RebeccaBlackman](https://wordpress.org/support/users/rebeccablackman/)
 * (@rebeccablackman)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/undefined-offset-error-2/)
 * Hi,
 * I’ve recently enabled debug logging to diagnose a problem (unrelated to Postman)
   and the log is full of the following errors:
 * > [13-Nov-2015 16:14:32 UTC] PHP Notice: Undefined offset: -9223372036854775808
   > in /home/teds/public_html/wp-content/plugins/postman-smtp/Postman/PostmanUtils.
   > php on line 197
 * Just thought I’d let you know in case this is something you need to address. 
   It’s not causing any noticeable problems, the plugin works beautifully.
 * Kind regards,
 * Rebecca
 * [https://wordpress.org/plugins/postman-smtp/](https://wordpress.org/plugins/postman-smtp/)

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

 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/undefined-offset-error-2/#post-6746988)
 *     ```
       return @round ( $size / pow ( 1024, ($i = floor ( log ( $size, 1024 ) )) ), 2 ) . ' ' . $unit [$i];
       ```
   
 * What the heck?? Your memory size must be less than zero!? Could you please tell
   me your operating system and PHP brand/version.
 * So strange. I can reproduce it by setting size to 0 or less than 0. I will check
   for < 0 before calling this function. That should fix it.
 * Thanks so much for bring this to my attention 🙂
 *  Thread Starter [RebeccaBlackman](https://wordpress.org/support/users/rebeccablackman/)
 * (@rebeccablackman)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/undefined-offset-error-2/#post-6746992)
 * Hi Jason,
 * My server is running Apache 2.2.31 / CentOS 6.6 with PHP 5 (fcgi)
 * WordPress is set to use 256mb within wpconfig and I have 3Gb of physical ram 
   on the server, so definitely no shortage of available memory.
 * I am using APC and varnish if that’s important.
 * Kind regards,
 * Rebecca
 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/undefined-offset-error-2/#post-6746994)
 * PHP 5? Like 5.0? That might explain it.
 *  Thread Starter [RebeccaBlackman](https://wordpress.org/support/users/rebeccablackman/)
 * (@rebeccablackman)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/undefined-offset-error-2/#post-6747018)
 * Hi Jason,
 * Yes that’s right.
 * Kind regards,
 * Rebecca
 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/undefined-offset-error-2/#post-6747044)
 * Fixed in the [development branch](https://downloads.wordpress.org/plugin/postman-smtp.zip).
   It will be in the next release, v1.7.3.
 *  Thread Starter [RebeccaBlackman](https://wordpress.org/support/users/rebeccablackman/)
 * (@rebeccablackman)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/undefined-offset-error-2/#post-6747045)
 * Fantastic, thanks for sorting it so quickly!
 * Kind regards,
 * Rebecca
 *  [kkzk](https://wordpress.org/support/users/kkzk/)
 * (@kkzk)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/undefined-offset-error-2/#post-6747249)
 * Hi,
    Still not fixed on the regular version? From the development branch, should
   I just take the PostmanUtils.php file? Kind regards, Christian
 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/undefined-offset-error-2/#post-6747250)
 * Geez, I forgot about this, didn’t I. Let me check
 *  [ustczanka](https://wordpress.org/support/users/ustczanka/)
 * (@ustczanka)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/undefined-offset-error-2/#post-6747253)
 * I have the same issue… When can we expect the fix?
 *  [kerrylgeiger](https://wordpress.org/support/users/kerrylgeiger/)
 * (@kerrylgeiger)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/undefined-offset-error-2/#post-6747263)
 * I have this issue as well. Thanks for the development on this useful plugin!

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

The topic ‘Undefined offset error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/postman-smtp_7c7b78.svg)
 * [Postman SMTP Mailer/Email Log](https://wordpress.org/plugins/postman-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/postman-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/postman-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/postman-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/postman-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/postman-smtp/reviews/)

## Tags

 * [log](https://wordpress.org/support/topic-tag/log/)
 * [offset](https://wordpress.org/support/topic-tag/offset/)

 * 10 replies
 * 5 participants
 * Last reply from: [kerrylgeiger](https://wordpress.org/support/users/kerrylgeiger/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/undefined-offset-error-2/#post-6747263)
 * Status: resolved