• Resolved doubledashdot

    (@doubledashdot)


    Since my theme (RockyThemes – Creativo ) already had some speed optimization I had not yet enabled minify in W3. I did yesterday, only using default settings. Result was a mostly empty page.

    I then de-activated W3 and finally deleted the plug. Unfortunately this did not solve the issue’s.

    I now have a mostly empty website only showing elements of the header / topbar and menu. Google web dev is rather happy but only takes into account a fragment ( the topbar /header) of the content that should be available.

    In the backend all content seems ok and everything is working. If I preview however, the result is the same: a page with only the header / topbar and the rest of the content missing. Actually the content seems to “be there” but it is not displayed.

    The problem is not local. I tried various mobile/desktop devices.

    Everything in my install is up to date. Google web dev or Safari show various issue’s , “improvements” but I do not know where to start!

    I do not really know where and how to start troubleshooting. Some help is appreciated.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @doubledashdot

    Thank you for reaching out and I am happy to assist you with this.
    I’ve checked your website and I can see the console errors:

    Uncaught ReferenceError: jQuery is not defined
        at plugins.min.js?ver=7.7.5.7:106:3
    https://www.johnnyraw.com/wp-content/themes/creativo/assets/js/plugins.min.js?ver=7.7.5.7
    

    When you see content not displaying and the jQuery not defined error, this is the reason.
    I’ve also checked if the W3 Total Cache is enabled and I am not seeing that is active.
    Can you please make sure that the following files are removed:

    • cache folder
    • w3tc-config folder
    • object-cache.php (if exists)
    • advanced-cache.php (if exists)
    • db.php (if exists)
    • upgrade folder
    • delete w3-total-cache folder in wp-content/plugins/ (if exists)

    If none of these exists on your website, and the issue still persists, it means that the problem is not related to the W3 Total Cache.
    If the W3TC is active please confirm this.
    However, I would suggest checking your theme optimization settings and seeing if the jquery is deferred.

    Thanks!

    Thread Starter doubledashdot

    (@doubledashdot)

    Hello Marko.

    Thanks.

    I know about the jQuery.

    I was running the website with W3 enabled and minify NOT enabled.

    Yesterday I decided to enable minify because I thought this might make the website a bit faster. It is rather slow and Google Dev tools also points to unused CSS. As a consequence the situation I described occurred (jQuery not defined, content not visible etc…).

    So I thought it to be better to disable minify, and when this did not solve the issue, temporally remove W3 (did not solve it either).
    Since then this situation is going on.

    I already read your suggestion concerning removing leftovers of W3 install.
    I will check this again.

    I did not change anything in the theme optimization. I only changed settings in W3.
    That is why I somehow suspect the issue is related to W3. Ofcourse it might somehow have to do with incompatibility. I also contacted the theme developer.

    I will check theme, remove W3 files etc… and will let you know what happens…

    If you have specific suggestions how to best troubleshoot this issue…..please let me know ??

    Thanks
    Rene

    Thread Starter doubledashdot

    (@doubledashdot)

    Hello Marko.

    Thanks.

    Sorry, copy paste does not seem to work that smooth.

    I know about the jQuery.

    I was running the website with W3 enabled but minify NOT enabled.

    Yesterday I decided to enable minify because I thought this might make the website a bit faster. It is rather slow and Google Dev tools also points to unused CSS. As a consequence the situation I described occurred (jQuery not defined, content not visible etc…).

    So I thought it to be better then to disable minify again and when this did not solve the issue, temporarily remove W3 (did not solve it either).

    Since then this situation is going on.

    I already read your suggestion concerning removing leftovers of the W3 install. I will check this again.

    I did not change anything in the theme optimization. I only changed settings in W3. That is why I think the issue is somehow related to W3. Ofcourse it might have to do with incompatibility. This is why I also contacted the theme developer.

    I will check theme, remove W3 files, jQuery etc… and will let you know what happens. If you have specific suggestions concerning how to best troubleshoot this issue, please let me know.

    Thanks

    Rene

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @doubledashdot

    Thank you for your feedback.

    The jQuery is loading on your website, however, it’s loading with the defer attribute

    <script type="text/javascript" defer="" src="https://www.johnnyraw.com/wp-includes/js/jquery/jquery.min.js?ver=3.6.1" id="jquery-core-js"></script>

    W3 Total Cache does not add this attribute to individual files and it can only defer minified files. So, it appears that something is adding this and you should consider removing it. Possibly your theme optimization settings or some other plugin. If the W3TC is completely removed, it does not affect your website or any files.

    I hope this helps!

    Thanks!

    Thread Starter doubledashdot

    (@doubledashdot)

    Hello Marko,

    I thought I should update you…

    The case for all this unexpected behavior turned out te be a Youtube embed plugin that had been sitting there, for years already….

    ?? Solved!

    Thanx

    Rene

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hey @doubledashdot

    Glad to know the problem is resolved!

    You are most welcome!

    We would really appreciate it if you could take a minute and post a review here. This will help us to continue offering a top-notch product to users.
    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘99% of content missing after enabling minify.’ is closed to new replies.