Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Conflict with W3 Total Cache - JS Minify loading to WSOD #199
Both autoptimize and W3 Total Cache use a version of JSMinify. I’ve experienced situations where autoloading attempts to load the JS Minify source file leading to the PHP parser issuing messages saying JSException classes could not be redefined. This then caused a further PHP error from output buffering which then led to a WSOD.
Hi @futtta I believe it's the latter, but I'll need to check the settings. It appears that the versions of autoptimize that I'm running are different.
This is the change I made to the W3 Total Cache code in
and I made a corresponding change to
Here are the messages.
Not sure which part of the FAQ you're referring to but I'll try disabling W3TC's minify.
Both the Live and Test sites are now running with Autoptimize 2.4 and W3TC 0.9.7
In the Live site:
plus, on Live only,
Didn't manage to reproduce problem with 2.4.
It could have been a problem triggered by Autoptimize upgrade without clearing W3TC's cache.