Title: [Plugin: Urban Push] Warning: strstr() [function.strstr]: Empty delimiter
Last modified: August 20, 2016

---

# [Plugin: Urban Push] Warning: strstr() [function.strstr]: Empty delimiter

 *  [death_au](https://wordpress.org/support/users/death_au/)
 * (@death_au)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-urban-push-warning-strstr-functionstrstr-empty-delimiter/)
 * Urban Push seems to be giving me the warning:
    `Warning: strstr() [function.strstr]:
   Empty delimiter in [Redacted]\wp-content\plugins\urban-push\urbanpush.php on 
   line 67` on the create post page. And when I try to publish a post with a push
   notifications I get more of the same:
 *     ```
       Warning: strstr() [function.strstr]: Empty delimiter in [Redacted]\wp-content\plugins\urban-push\urbanpush.php on line 67
   
       Warning: strstr() [function.strstr]: Empty delimiter in [Redacted]\wp-content\plugins\urban-push\urbanpush.php on line 74
   
       Warning: strstr() [function.strstr]: Empty delimiter in [Redacted]\wp-content\plugins\urban-push\urbanpush.php on line 83
   
       Warning: strstr() [function.strstr]: Empty delimiter in [Redacted]\wp-content\plugins\urban-push\urbanpush.php on line 67
   
       Warning: strstr() [function.strstr]: Empty delimiter in [Redacted]\wp-content\plugins\urban-push\urbanpush.php on line 74
   
       Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\WordpressTest\wp-content\plugins\urban-push\urbanpush.php:67) in [Redacted]\wp-includes\pluggable.php on line 881
       ```
   
 * And I get not push notification sent.
    Is there an easy fix for this?
 * [http://wordpress.org/extend/plugins/urban-push/](http://wordpress.org/extend/plugins/urban-push/)

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

 *  [intothev01d](https://wordpress.org/support/users/intothev01d/)
 * (@intothev01d)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-urban-push-warning-strstr-functionstrstr-empty-delimiter/#post-2923328)
 * What I did was to remove the strstr function and replace with the empty() function
   on those lines because they appear to just be checking to make sure the strings
   are not blank, hence the error about comparing to empty delimiter. Line 71 uses
   strstr to compare the password though so don’t mess with that one.
 * Here’s what I did
    line 67 if (empty($_POST[“password”])) line 74 if (empty($
   _POST[“push”])) line 83 if ($appname{‘text_string’} && !empty($appname{‘text_string’}))…
   and this is the same for the other 3 sections that are similar to this block.
 *  [intothev01d](https://wordpress.org/support/users/intothev01d/)
 * (@intothev01d)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-urban-push-warning-strstr-functionstrstr-empty-delimiter/#post-2923329)
 * whoops, accidentally posted twice

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

The topic ‘[Plugin: Urban Push] Warning: strstr() [function.strstr]: Empty delimiter’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/urban-push.svg)
 * [Urban Push](https://wordpress.org/plugins/urban-push/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/urban-push/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/urban-push/)
 * [Active Topics](https://wordpress.org/support/plugin/urban-push/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/urban-push/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/urban-push/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [intothev01d](https://wordpress.org/support/users/intothev01d/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-urban-push-warning-strstr-functionstrstr-empty-delimiter/#post-2923329)
 * Status: not resolved