that could be a theme or plugin conflict @yortem, try switching themes briefly and/ or disabling plugins one at a time to identify the culprit.
frank
Thread Starter
yortem
(@yortem)
its weird. disabled all plugins, changed the theme and nothing is changed.
its not the first site i use Autoptimize and it usually works.
i think it’s even worked on this site few months ago.
the only thing i can think of is a plugin Wp Super Cache that was once intalled but no more… it makes sense?
-
This reply was modified 7 years, 2 months ago by yortem.
-
This reply was modified 7 years, 2 months ago by yortem.
-
This reply was modified 7 years, 2 months ago by yortem.
Thread Starter
yortem
(@yortem)
i found out i have this in my
wp-config
define( 'WPCACHEHOME', '/home/xxx/domains/seolike.co.il/public_html/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager
should i remove it?
and wp-super-cache folder in plugins stil exist.
before i deleted the plugin deleted cache..
-
This reply was modified 7 years, 2 months ago by yortem.
wp super cache (and that line in wp-config.php) should make no difference … can you try with the development version of AO from GitHub? just overwrite wp-content/plugins/autoptimize/*
with contents of autoptimize-master
in the zipfile.
frank
Thread Starter
yortem
(@yortem)
your files fixed it! can you explain?
there’s a number of improvements in the getPath() function in classes/autoptimizeBase.php (cfr. 2 most recent commits here). It’s that function that is responsible for deciding if a file can be aggregated or not.
Thread Starter
yortem
(@yortem)
but why it doesnt happen on other sites of mine that has the same paths?
sometimes same theme.
well, as long as it works 🙂
thank you so much for your plugin and for you time!