• Resolved Micha? Dudziński

    (@fotoduda)


    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

    (@gijo)

    @fotoduda Flying Scripts works fine with PHP 8.0. Check your error logs.

    Thread Starter Micha? Dudziński

    (@fotoduda)

    @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

    (@gijo)

    @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

    (@fotoduda)

    @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

    (@aivanov12)

    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 2 years ago by Aleksandar.
    vbaicu

    (@vbaicu)

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