Title: Plugin not working with PHP 8.x
Last modified: November 8, 2022

---

# Plugin not working with PHP 8.x

 *  Resolved [Michał Dudziński](https://wordpress.org/support/users/fotoduda/)
 * (@fotoduda)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-not-working-with-php-8-x/)
 * Hello,
 * PHP 7.4 will be outdated by the end of this month.
 * When I update my site to PHP 8.0, Flying Scripts plugin blocks all JS files from
   loading completely (regardless of whether they’re on the list, or not).
 * And they’re not loaded after timeout or user interaction either. My Network tab
   in DevTools is completely empty when I want to see JS files.
 * I deactivated all other plugins except FT, no difference, doesn’t look like it’s
   a plugin conflict.

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

 *  Plugin Author [Gijo Varghese](https://wordpress.org/support/users/gijo/)
 * (@gijo)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-not-working-with-php-8-x/#post-16176865)
 * [@fotoduda](https://wordpress.org/support/users/fotoduda/) Flying Scripts works
   fine with PHP 8.0. Check your error logs.
 *  Thread Starter [Michał Dudziński](https://wordpress.org/support/users/fotoduda/)
 * (@fotoduda)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-not-working-with-php-8-x/#post-16177088)
 * [@gijo](https://wordpress.org/support/users/gijo/) I checked again.
 * Still, no console errors. Wp_debug true – no errors.
 * Running Astra Pro theme. WP 6.1. All up to date. PHP 8.0.
 * With FS enabled, no JS files are loaded, none at all. All plugins disabled, no
   difference.
 * Where to look now?
 *  Plugin Author [Gijo Varghese](https://wordpress.org/support/users/gijo/)
 * (@gijo)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-not-working-with-php-8-x/#post-16177209)
 * [@fotoduda](https://wordpress.org/support/users/fotoduda/) try deactivating other
   plugins. I can confirm that the plugin work with PHP 8.
 * If you’re still facing the issue, setup a new site and install Flying Scripts
   and share the url.
 *  Thread Starter [Michał Dudziński](https://wordpress.org/support/users/fotoduda/)
 * (@fotoduda)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-not-working-with-php-8-x/#post-16180247)
 * [@gijo](https://wordpress.org/support/users/gijo/) I have found the issue.
 * I had empty lines in the Keywords list (I had many scripts to block and tried
   to organize them that way).
 * It was no problem when using PHP 7.4, but after switching to PHP 8.0 it caused
   some kind of error and prevented all of site’s JS files to from loading completely.
   That error was not logged into console, or WP DEBUG.
 *  [Aleksandar](https://wordpress.org/support/users/aivanov12/)
 * (@aivanov12)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-not-working-with-php-8-x/#post-16180589)
 * Hello. I am using PHP 8. The plugin works flawlessly for me. Could you check 
   your other plugins to see if they conflict with PHP 8?
 * I apologize. I replied to you just before you posted your last reply. I’m glad
   the issue is resolved.
    -  This reply was modified 3 years, 5 months ago by [Aleksandar](https://wordpress.org/support/users/aivanov12/).
 *  [vbaicu](https://wordpress.org/support/users/vbaicu/)
 * (@vbaicu)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-working-with-php-8-x/#post-16229651)
 * [@fotoduda](https://wordpress.org/support/users/fotoduda/) I am facing the same
   issue using a different plugin, Actually most of the plugins JS are not loading.
   
   Could you please let mw know what are you referring to by ” Keywords list” ; “
   I had empty lines in the Keywords list (I had many scripts to block and tried
   to organize them that way).”
 * I wonder where to check that.
    Thanks!

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

The topic ‘Plugin not working with PHP 8.x’ is closed to new replies.

 * ![](https://ps.w.org/flying-scripts/assets/icon-256x256.png?rev=2240444)
 * [Flying Scripts: Delay JavaScript to Improve Site Speed & Performance](https://wordpress.org/plugins/flying-scripts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flying-scripts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flying-scripts/)
 * [Active Topics](https://wordpress.org/support/plugin/flying-scripts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flying-scripts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flying-scripts/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [vbaicu](https://wordpress.org/support/users/vbaicu/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-working-with-php-8-x/#post-16229651)
 * Status: resolved