• Resolved magaworks

    (@magaworks)


    I have a problem with hummingbird compressed files.
    Sometimes I get errors on the page: it indicates that hummingbird compressed files are loaded without HTTPS.
    Do you have any idea why this could be happening?
    The hosting is Apache with PHP 7.2.20, MySQL 5.7.27.
    Thnks

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @magaworks

    I checked some pages and I couldn’t notice any error like that.
    Is there a specific page with this error?
    Or a way to replicate that?
    Please advise!

    Thank you,
    Dimitris

    Thread Starter magaworks

    (@magaworks)

    Hi, I turned off Page cache in all sites I was using Humingbird because I was having the same problem in all of them.
    I believe it has something to do with page. Once I turn it on the problem reappears after a few hours.

    Thread Starter magaworks

    (@magaworks)

    The Page Cache, Browser Cache and Asset Optimization do not seem to be sincronized. Something is wrong with Hummingbird cache and asset optimization.

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @magaworks

    It seems that there are some mixed-content errors considering some font files.
    https://monosnap.com/file/IPrX5CTLj74g3TS15QxiwnrVeAQSU8
    These errors are getting triggered in this file:
    /wp-content/themes/dt-the7/js/above-the-fold.min.js

    Keep in mind that if there are errors in the website, then Asset Optimization will most probably create even more issues, so you should make sure that you have a good working site before starting using it.

    The Page Cache, Browser Cache and Asset Optimization do not seem to be sincronized. Something is wrong with Hummingbird cache and asset optimization.

    All these three are separate modules that work differently, so there’s no actual synchronization between them.
    Page Cache will create static HTML files for your pages and serve these, instead of running WP and generate the pages dynamically.
    Browser Cache is storing data in client/browser end, so it needs less queries in each page load.
    Asset Optimization will minify, combine and re-order your assets (CSS and JS files) and it will also use some cache for these files (so if you add/remove any plugins for example and assets list is updated, you will have to clear cache to get the updated generated files).

    Having said that, you’ve mentioned before that you disabled Page Caching and you got this working. Is this true? So Asset Optimization is working well and doesn’t cause any broken pages? Cause it’s easier to get that from Asset Optimization than from Page Caching. Please advise!

    More info about Asset Optimization can be found here:
    https://premium.wpmudev.org/docs/wpmu-dev-plugins/hummingbird/#asset-optimization

    Thank you,
    Dimitris

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @magaworks

    Trust you’re doing well!

    We’ve not heard from you in a while. I’ve marked this ticket as resolved for now, but if you need anything else at all, we’re here for you, please just reopen the ticket or create a new one.

    Have a good day!

    Cheers,
    Nastia

    Thread Starter magaworks

    (@magaworks)

    Hi, I have not been able to understand why these errors appear only once in a while. With Page Cache disabled they no longer appear.
    The mixed-content errors only began when I activated Page cache. There were never any errors from the template with these files. So I assume they were generated by your plugin, because once I des-activated the Page cache they disappear.

    You say there is no relation and that they are three separate modules that work differently, and there’s no actual synchronization between them. But if the theme /Plugins are updated, I expect the asset optimization is re-build, and also the page cache should be automaticallu cleaned and rebuilt because the assets would be new.
    That is why I though it could be from Page cache not being cleaned automatically when Themes/ Plugins are updated and assets re-built.
    Otherwise I do not understand why problems like mixed-content errors only show up with page Cache Active.

    For now I have it de-activated and problems disappeared. There might be some incompatibilities between your plugin and the theme files, for some reason.
    I have not come to any conclusion. But thank you for the support.

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @magaworks

    I trust you’re doing well!

    To force Asset Optimization to re-check assest with every theme/plugins update please go to Hummingbird > Caching > Settings and check Automatic for “File Change Detection”. Please see this screenshot:
    https://take.ms/il1sE

    The Page Caching should be activated to see the Settings options. Try re-scanning dor assets in Asset Optimization and see if the issue is still there.

    Let us know how it went!

    Cheers,
    Nastia

    Thread Starter magaworks

    (@magaworks)

    Hi, I figured something.
    I do not have that menu option: Hummingbird > Caching > Settings
    The strange thing is that I installed the exact same site in my hosting, and the option shows up. The only dofference is that I deleted the tracking codes from google analytics, Autopilot and Chat.
    What could be the problem here??? Could these tracking be the problem?
    Or should I un-install and re-install the plugin?? And will I loose all my settings?
    Thanks in advance.

    Thread Starter magaworks

    (@magaworks)

    Hi, I tried deleting the tracking codes and they are not the culprit.
    Also, I see PHP 7.3 which is the same at my hosting, so that is not a problem.
    The other difference is the clients’ hosting is a Linux VPS with CENTOS 7.6, and mine is a shared hosting (not sure which OS it has but I am sure it is not CENTOS).
    What can be missing from the hosting environment that could cause this? Could be an Apache or PHP module?
    Hope you can help me. This is all the information I could gather after a lot os testing.

    Thread Starter magaworks

    (@magaworks)

    Here is the list of extensions the client’s hosting does not have but mine has (I see this in Hummingbird > Advanced Tools > System Information) – This may help you help me understand what is missing and ask their hosting to install the missing extension:
    bz2
    calendar
    eio
    gmp
    i360
    iconv
    igbinary
    imagik
    imap
    ioncubeloader
    litespeed
    memcached (I have been told it cannot be installed in CETOS 7.6)
    pdo_dlib
    shmop
    sockets
    xmlrpc

    And thanks again. (Here’s hoping you can figure this out and help me)

    Hi @magaworks,

    Hummingbird > Caching > Settings will only show up if Hummingbird > Caching > Page Caching is enabled. I’m guessing that this is the difference in the sites.

    Best regards,
    Anton

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

The topic ‘errors Loaded without HTTPS’ is closed to new replies.