WordPress.org

Support

Support » Plugins and Hacks » MnCombine » [Resolved] Warning: strstr(): Empty delimiter in class-plugin-mncombine.php on line 663

[Resolved] Warning: strstr(): Empty delimiter in class-plugin-mncombine.php on line 663

  • Hi, First of all thank you for this great plugin, exactly what wordpress needs 🙂

    So I bumped in this error, it appears x3 on every js file I want to combine:

    Warning: strstr(): Empty delimiter in /var/www/vhosts/site/wp-content/plugins/mncombine/class-plugin-mncombine.php on line 663

    No problem with jss compress, css combine and compress.

    I tried all the options (development/production) etc.. but doesnt change.
    I also cleared the cache but same.

    Im on a vps with nginx / apache / apc php

    Any clues?

    Bless

    https://wordpress.org/plugins/mncombine/

Viewing 1 replies (of 1 total)
  • Plugin Author mneil

    @mneil

    Odd, that would mean that one of the registered script src is empty in WP which shouldn’t be the case. For now, you can suppress the message by opening the file it’s referencing /var/www/vhosts/site/wp-content/plugins/mncombine/class-plugin-mncombine.php, go to line 663, and change it from:

    if( strstr( $js, $use ) )

    TO:

    if( @strstr( $js, $use ) )

    I have done the same in the source so when I push an update you won’t have to worry. If I can find out why this is happening, or can think of a better way to handle this, then I will. But for now that will solve your issue and I’ll make sure it doesn’t show back up in future versions.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Warning: strstr(): Empty delimiter in class-plugin-mncombine.php on line 663’ is closed to new replies.
Skip to toolbar