Title: Php 7.4
Last modified: July 28, 2020

---

# Php 7.4

 *  Resolved [Superb](https://wordpress.org/support/users/themeeverest/)
 * (@themeeverest)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/)
 * Hi, I absolutely love your plugin, but ever since I update to php 7.4 autoptimize
   doesn’t work anymore, it just removes all CSS from my entire website 🙁
 * I don’t have the plugin active currently, so I’m not sure if it’s of any help
   to link my website, but I have done it anyways.
 * Have you heard of that happening before?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-7-4-17%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/php-7-4-17/page/2/?output_format=md) [→](https://wordpress.org/support/topic/php-7-4-17/page/2/?output_format=md)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13180188)
 * should work perfectly on 7.4 really … do you have a staging-site where we could
   test?
 *  Thread Starter [Superb](https://wordpress.org/support/users/themeeverest/)
 * (@themeeverest)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13180202)
 * [@optimizingmatters](https://wordpress.org/support/users/optimizingmatters/) 
   that was fast, thanks for getting back to me so quickly.
    I found your beta version
   link and installed it, it seems like that sorted out the issue – weird!
 * Marking it as done, thanks for creating an outstanding product
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13180275)
 * Well, if you were using “inline & defer CSS” then there were issues in 2.7.5 
   which are fixed in beta (which I’ll release as 2.7.6 today).
 *  Thread Starter [Superb](https://wordpress.org/support/users/themeeverest/)
 * (@themeeverest)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13180396)
 * Apparently “Aggregate inline CSS” was the trigger, it mixed the order of some
   stylesheets which bugged out.
 * That together with removing the CDN base url did the trick, we are using a CDN
   enabler instead now and that works.
 * Not sure I completely understand why the errors suddenly started showing after
   upgrading PHP to 7.4 though :/
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13180439)
 * had a quick look and AO now seems not to be active?
 *  Thread Starter [Superb](https://wordpress.org/support/users/themeeverest/)
 * (@themeeverest)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13181139)
 * Hey [@optimizingmatters](https://wordpress.org/support/users/optimizingmatters/)
   yes it is active, but you’re right it seems like it’s not minifying anything 
   currently, that’s very odd.
 * In the interface it says: Cached styles and scripts 2 files, totalling 0.00 B(
   calculated at 14:30 UTC)
 * I have activated following:
    – Optimize JavaScript Code? – Aggregate JS-files?–
   Optimize CSS Code? – Aggregate CSS-files? – Optimize HTML Code? – Save aggregated
   script/css as static files? – Minify excluded CSS and JS files? – Enable 404 
   fallbacks? – Also optimize for logged in editors/ administrators?
 * It seems like minify HTML works fine but the rest doesn’t 🙁
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13181214)
 * ok, also configure AO with the CDN base domain, if not AO can’t know it can aggregate
   the JS/ CSS on that other URL.
 *  Thread Starter [Superb](https://wordpress.org/support/users/themeeverest/)
 * (@themeeverest)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13181245)
 * If I type in [https://b9w4c2c6.stackpathcdn.com/](https://b9w4c2c6.stackpathcdn.com/)
   as the root then all CSS stops working.
 * It creates a minified file, but it takes a while for stackpath to catch up I 
   think, so for a long while it just leads to a 404 error that looks something 
   like this:
 * [https://b9w4c2c6.stackpathcdn.com/wp-content/cache/autoptimize/css/autoptimize_6833187de64c366ecc1368911501549c.css](https://b9w4c2c6.stackpathcdn.com/wp-content/cache/autoptimize/css/autoptimize_6833187de64c366ecc1368911501549c.css)
 * I assume thats the issue, at least it just gives a 404 error
 * Have you experienced that before?
    -  This reply was modified 6 years ago by [Superb](https://wordpress.org/support/users/themeeverest/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13181261)
 * weird, a pull cdn normally just pulls the file in and all is fine. maybe check
   stackpath settings or ask their support?
 * in the mean time; try with the “404 fallback”-option ticked maybe?
 *  Thread Starter [Superb](https://wordpress.org/support/users/themeeverest/)
 * (@themeeverest)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13181342)
 * I just spoke with Stackpath support, they say that it’s a common error that their
   service don’t work together with Autoptimize.
 * They recommend that I use WP Rocket or W3 cache instead. :-/
 * Anyways I thank you for your awesome service, I really appreciate it.
 * Have a great day
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13181392)
 * that doesn’t make sense … they’re a pull CDN, right? so a file that is created
   on the origin server and that is requested from the CDN will cause the CDN to
   pull the file from the origin server?
 * I see no reason why it would not work and I have seen a great number of sites
   with AO on stackpath CDN actually ..
 * If the CDN is disabled, does AO work?
 *  Thread Starter [Superb](https://wordpress.org/support/users/themeeverest/)
 * (@themeeverest)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13181433)
 * Well I’ll be honest and say that I have no experience regarding this, so I’m 
   not the right person discuss it with sadly.
 * I can confirm that AO works fine when the CDN is disabled.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13181463)
 * Hmm …
 * So if you have [https://b9w4c2c6.stackpathcdn.com/wp-content/cache/autoptimize/css/autoptimize_6833187de64c366ecc1368911501549c.css](https://b9w4c2c6.stackpathcdn.com/wp-content/cache/autoptimize/css/autoptimize_6833187de64c366ecc1368911501549c.css)
   not working, does at that moment [https://superbthemes.com/wp-content/cache/autoptimize/css/autoptimize_6833187de64c366ecc1368911501549c.css](https://superbthemes.com/wp-content/cache/autoptimize/css/autoptimize_6833187de64c366ecc1368911501549c.css)(
   the origin file) work?
 *  Thread Starter [Superb](https://wordpress.org/support/users/themeeverest/)
 * (@themeeverest)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13181586)
 * Yes that’s correct, what’s weird is that Autoptimize creates multiple files, 
   some of them are working fine in Stackpath but the main CSS one gives a 404 –
   It makes no sense to me
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years ago](https://wordpress.org/support/topic/php-7-4-17/#post-13181621)
 * And if you activate that “404 fallback” option?

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/php-7-4-17/page/2/?output_format=md) [→](https://wordpress.org/support/topic/php-7-4-17/page/2/?output_format=md)

The topic ‘Php 7.4’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 22 replies
 * 2 participants
 * Last reply from: [Superb](https://wordpress.org/support/users/themeeverest/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/php-7-4-17/page/2/#post-13182255)
 * Status: resolved