• 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

    (@gabelivan)

    @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

    (@dadparvar)

    Thanks, @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://www.ads-software.com/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

    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

    (@gabelivan)

    @oldrup @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.