• Anand

    (@anandkumar4u)


    I am getting PHP warning. Their are thousands of such warning in the logs:
    The site is hosted on HostGator.

    Warning message:
    [02-Jan-2012 20:38:29] PHP Warning: stristr() [function.stristr]: Empty delimiter in /home/USER/public_html/DOMAIN.TLD/wp-content/plugins/wp-super-cache/ossdl-cdn.php on line 34

    At line 34 in ossdl-cdn.php:
    if (stristr($match, $badword) != false) {

    http://ww.wp.xz.cn/extend/plugins/wp-super-cache/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Do you have anything in “Exclude if substring” on the CDN settings page? Put “.php” in there if you don’t.

    Otherwise this is harmless. You could add a “@” in front of the stristr command to hide the warning.

    Thread Starter Anand

    (@anandkumar4u)

    I have excluded .php, .xsl, .ico,

    Shuld i put like @.xsl, @.ico??

    No need, just put .php in there. The other files are static files that can be mirrored by your CDN.

    Thread Starter Anand

    (@anandkumar4u)

    I have removed .ico (which is fine) but when I remove .xsl The sitemap generated by “SEO by Yoast” gets error!! 🙁

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

The topic ‘[Plugin: WP Super Cache] Getting PHP warning "Empty delimiter" in Webhost logs’ is closed to new replies.