• I’m trying to debug a random occurring issue, where a page isn’t fully loading on first try.

    So far haven’t been able to find something meaningful, but instead have noticed on my test site (WAMP) many entries (about 30 for the frontpage) like the one below (via FireFox Web console):

    [Phast] Failed to load CSS 
    Object { ref: "z7ugSMgxRH8" }
     undefined www.domain.com:1580:396
    [Phast] Falling back to <link> element for https://www.domain.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/style.css?ver=4.4.3

    To check for a stale cache, have deleted everything under cache \wp-content\cache\phast.5e0ed3a875d0f01532bd07f060692e8b.0 but those aforementioned entries consistently still show up. There are no other cache/optimization plugins enabled.

    They don’t seem to appear on live for the same site (Linux, nginx+apache, CloudFlare).

    Mind I’m importing the live DB into WAMP, via UpdraftPlus backups.

    What’s the reason for these entries and how to get them fixed? Is it perhaps a Windows-only (e.g. path) issue?

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Albert Peschar

    (@kiboit)

    Hi @alx359,

    I just tested with WampServer and it seems to work well.

    Perhaps it has to do with the PATH_INFO phast.php/parameters that are used when you have enabled “Remove query string from processed resources”. If this setting is enabled, could you disable it and see if this fixes the issue?

    –Albert

    Thread Starter alx359

    (@alx359)

    It was a good candidate, thanks, but it wasn’t it. Re-checked that PATH_INFO appears to be working on my WAMP configuration, and tried both Remove query string from processed resources: ON and Off, but got the same odd entries (see screenshot but note again that’s localhost, on live on the same URL it’s okay).

    I’m aware this isn’t an important issue per se, as the site seems to be working under WAMP just fine, but still, perhaps it’s touching something else worth investigating. As said, noticed pages stop loading on first load apparently at random, and haven’t figured out yet a reason of why.

    Plugin Author Albert Peschar

    (@kiboit)

    Hi @alx359,

    When you look in the Network panel in developer tools, you should two see requests to phast.php returning a plain response that looks like JSON. One is for scripts, the other file stylesheets.

    Do either of these look like errors?

    And do you see any errors in your server logs? C:\wamp64\logs

    –Albert

    Thread Starter alx359

    (@alx359)

    Hi Albert,
    Thanks for your hints. As I’m still unsure of what I’m supposed to look for, have made a little clip so you can see it all for yourself, and lead me in the right direction of what to look further for for you. HTH. Thanks!

    Thread Starter alx359

    (@alx359)

    Forgot to mention that I did look into C:\wamp\logs\* as you suggested, but there’s nothing in there of use.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Phast] Failed to load CSS Object { ref: “Fgq0cIxgqzc” } undefined’ is closed to new replies.