PHP Strict Standards: Minify_Inline::minify()
-
Hello Frederick,
I was having a problem with minify, regarding PHP Strict Standards:
[14-Jan-2015 00:40:56 America/Argentina/Buenos_Aires] PHP Strict Standards: Static function Minify_Inline::minify() should not be abstract in /plugins/w3-total-cache/lib/Minify/Minify/Inline.php on line 8
A smarter than me person told me to fix it whis way:
In the file “wp-content/plugins/w3-total-cache/lib/Minify/Minify/Inline.php” replace:
abstract static function minify($content, $minifier, $options = array());
With:
static function minify($content, $minifier, $options = array()) {
return $content;
}I’m no getting any errors now, everything seems to be working flawlessly. What do you think of this?
Thanks!
- The topic ‘PHP Strict Standards: Minify_Inline::minify()’ is closed to new replies.