502 Error when saving HB Minify settings

Whenever you change minify options in Hummingbird, and hit the save button, the site crashes with a 502 error.

  • Adam Czajczyk

    Hello Danielle,

    I hope you're well today and thank you for your question!

    I checked your site and found out that when you try to save minification, this file is being called:

    http://vantastec.co.uk/wp-content/uploads/stm_fonts/stm-icon/stm-icon.css?ver=1.0

    It looks like it's referenced in one of the files that are minified (most likely it's either enqueued in function.php or via some plugin or is loaded directly via JS or included in other CSS file). The link starts with "http://" which means that entire URL is probably "hard coded" into the file and since the site is using SSL and the file is loaded over insecure http:// connection, browser is blocking it. This, in turn, seems to be causing timeout.

    The "502" error is a HTTP status meaning "gateway timeout" so that suggests that this might be the culprit here.

    That said, do you know where this file is referenced/loaded? If you were able to change "http://" in the URL to "https://" or to "protocol-less" URL (like this: //vantastec.co.uk/wp-content/uploads/stm_fonts/stm-icon/stm-icon.css?ver=1.0) there's a good chance that it should either fix the issue or at least reveal the real problem.

    Best regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.