strpos() complains on Empty needle
DimArthur opened this issue · comments
DimArthur commented
Hey guys.
After the one of the recent updated w3speedster starts to fire this weird warning:
PHP message: PHP Warning: strpos(): Empty needle in /wp-content/plugins/w3speedster/includes/class_js_minify.php on line 291
Any idea why it happens?
DimArthur commented
It seems like I figured it out.
Trailing new line in the exclude_inner_javascript
was the issue.
Most likely need to filter out empty lines first :)