Title: mild annoyance: periodic empty haystack errors
Last modified: August 18, 2016

---

# mild annoyance: periodic empty haystack errors

 *  [jimbofish](https://wordpress.org/support/users/jimbofish/)
 * (@jimbofish)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/mild-annoyance-periodic-empty-haystack-errors/)
 * Hello, this is my first post to the wp support forum.
 * I’m having a periodic issue on my wordpress blog. On entries that include pictures,
   the following error message gets repeated a number of times:
 * Warning: mb_strstr() [function.mb-strstr]: Empty haystack in /home/vecsluo7/public_html/
   wp-includes/functions-formatting.php on line 45″
 * This error surfaces according to seemingly no rhyme or reason. If I reload the
   page in my browser, magically the error disappears. Sometimes this error message
   takes a few reloads before it goes away. And other times, it does not appear 
   on my blog for a few days.
 * My blog address is [http://jamesluong.com](http://jamesluong.com) Does anyone
   know how to resolve this?
 * Thanks.
 * James

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

 *  [drmike](https://wordpress.org/support/users/drmike/)
 * (@drmike)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/mild-annoyance-periodic-empty-haystack-errors/#post-515105)
 * Looks more like a [php bug](http://bugs.php.net/bug.php?id=39361) to me.
 *  Thread Starter [jimbofish](https://wordpress.org/support/users/jimbofish/)
 * (@jimbofish)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/mild-annoyance-periodic-empty-haystack-errors/#post-515158)
 * so, basically you’re saying that theres a bug in the version of php that my server
   is using. is there anything I can do about it?
 *  [alternateroute](https://wordpress.org/support/users/alternateroute/)
 * (@alternateroute)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/mild-annoyance-periodic-empty-haystack-errors/#post-515333)
 * I found an answer at
    [http://beitis.com/?p=39](http://beitis.com/?p=39) although
   I haven’t tried it yet. Apparently it is a PHP bug, fixed in the next release,
   but in the meantime, you just disable warnings….
 *  Thread Starter [jimbofish](https://wordpress.org/support/users/jimbofish/)
 * (@jimbofish)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/mild-annoyance-periodic-empty-haystack-errors/#post-515361)
 * thanks so much! i’ll give that a shot!

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

The topic ‘mild annoyance: periodic empty haystack errors’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [jimbofish](https://wordpress.org/support/users/jimbofish/)
 * Last activity: [19 years, 3 months ago](https://wordpress.org/support/topic/mild-annoyance-periodic-empty-haystack-errors/#post-515361)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
