Conflicts with Minify_Controller_MinApp class
-
In W3TC you’re using Minify_Controller_MinApp class by Stephen Clay, but it’s not an original version of it.
I’m pretty sure there is no such code in original class:
foreach ($files as $file) { ... if (0 === strpos($file, '//')) { $file = $_SERVER['DOCUMENT_ROOT'] . substr($file, 1); } $realpath = \W3TC\Util_Environment::realpath($file);
And this is causing a lot of problems, if there is another plugin that also tries to use this library. Because now we have two classes with the same name, but different contents…
I guess you should rename that class, if you modified it, since it no longer is the class the name refers to…
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Conflicts with Minify_Controller_MinApp class’ is closed to new replies.