Title: php 8 is not supported
Last modified: May 18, 2021

---

# php 8 is not supported

 *  [Hamed Azimi](https://wordpress.org/support/users/dadparvar/)
 * (@dadparvar)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-8-is-not-supported/)
 * Today I noticed when we switch to php8, Asset Cleanup doesn’t save the changes(
   for example when I unload assets and update them, it doesn’t change anything)
 * Not sure if there are any other issues with php8 or not, but this one is very
   critical.
 * We switched back to PHP 7.4 just to unload some assets, but please make it compatible
   with php8.
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-8-is-not-supported/#post-14452551)
 * [@dadparvar](https://wordpress.org/support/users/dadparvar/) thanks for the update!
   What’s the page (you can specify the URI, no domain mentioning) where you actually
   had this problem? If you’re saying that it works fine in PHP 7.4 but not in PHP
   8, I could fix this. In my tests, everything has been working well in PHP 8. 
   So, looking forward to your reply! I’ll be glad to fix this!
 *  Thread Starter [Hamed Azimi](https://wordpress.org/support/users/dadparvar/)
 * (@dadparvar)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-8-is-not-supported/#post-14452586)
 * Thanks, [@gabelivan](https://wordpress.org/support/users/gabelivan/) for the 
   quick response.
 * I noticed this issue when I was trying to unset some assets from the Products
   page (woocommerce)
 * When you asked your question, I switched to other pages to see if I still have
   the issues that I was facing yesterday (for example [https://wordpress.org/support/topic/unloading-hardcoded-scripts-doesnt-work/](https://wordpress.org/support/topic/unloading-hardcoded-scripts-doesnt-work/))
 * I noticed that they are also fixed now. So, I assume even that topic’s issue 
   was caused by the same problem, incompatibility of php8. (and that topic was 
   in HOMEPAGE)
 * Is there any other information I can provide to help you find the issue?
 * Thanks
 *  [Bjarne Oldrup](https://wordpress.org/support/users/oldrup/)
 * (@oldrup)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-8-is-not-supported/#post-14499202)
 * Just wanted to pitch in, that I’m using Asset Cleanup on several development 
   sites with wp_debug on and php 8, and Asset Cleanup does not seem to throw any
   error, but works great.
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-8-is-not-supported/#post-14499207)
 * [@oldrup](https://wordpress.org/support/users/oldrup/) [@dadparvar](https://wordpress.org/support/users/dadparvar/)
   Indeed, it looks like the problem is not related to PHP 8 as there were some 
   bugs with the plugin (unrelated to the PHP version) that were fixed in the previous
   tag release. So, it’s very likely PHP 8 is fully supported in this case. Anyone
   who might have issues in PHP 8, is free to leave a comment on this topic.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘php 8 is not supported’ is closed to new replies.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/php-8-is-not-supported/#post-14499207)
 * Status: not resolved