anandkumar4u
Member
Posted 4 months ago #
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://wordpress.org/extend/plugins/wp-super-cache/
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.
anandkumar4u
Member
Posted 4 months ago #
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.
anandkumar4u
Member
Posted 4 months ago #
I have removed .ico (which is fine) but when I remove .xsl The sitemap generated by "SEO by Yoast" gets error!! :(