• Resolved purityboy83

    (@purityboy83)


    Hi

    I am testing the php 8.0 environment right now
    wordpress 5.6.2 / php8.0.2 / WP-Optimize 3.1.7

    After changing from php7.4 to php8.0, “ReferenceError: Can’t find variable: loadAsync” error has occurred.

    The error is the web browser’s console log.
    Ref img : https://ibb.co/2jXbG36

    If disable Minify, not occur problem
    WP-Optimize -> Minify -> turn off to “Enable Minify”

    Even if the two options below are turned off, a problem occurs.
    Enable merging of CSS files and Enable merging of JavaScript files

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • FYI, same issue here:

    “Uncaught ReferenceError: loadAsync is not defined ….”

    WordPress 5.6.2, php 8.0.2, WP-Optimize 3.1.7

    @dehabe @purityboy83 Thanks for sharing this, I’ll report this to our development team to run some tests on PHP 8+

    Hopefully this should get fixed in future release.

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

The topic ‘ReferenceError: Can’t find variable: loadAsync’ is closed to new replies.