Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Buggy resource loading on SSL website

    Bug Reports
    2
    2
    435
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jenss last edited by

      Hey,

      I'm really happy with the theme, but on my https domain, some resources don't properly load under chromes strict mixed-content rule.

      https://www.jenssage.com/

      The developer console reads:
      Mixed Content: The page at 'https://www.jenssage.com/' was loaded over HTTPS, but requested an insecure video 'http://www.jenssage.com/wp-content/uploads/2017/05/run-when-you-can-Broadband-Low.mp4'. This content should also be served over HTTPS.

      This occurs for webfonts (woff upload) and videos. In some cases even clicking isn't possible anymore, because a javascript error occurs:
      Uncaught DOMException: Failed to execute 'pushState' on 'History': A history state object with URL 'http://www.jenssage.com/run-when-you-can/' cannot be created in a document with origin 'https://www.jenssage.com' and URL 'https://www.jenssage.com/'.
      at Function.m.pushState (https://www.jenssage.com/wp-content/themes/lay/frontend/assets/js/vendor-min.js?ver=2.1.5:2:24152)
      at HTMLAnchorElement.<anonymous> (https://www.jenssage.com/wp-content/themes/lay/frontend/assets/js/build/build.js?ver=2.1.5:1:11868)
      at HTMLBodyElement.dispatch (https://www.jenssage.com/wp-includes/js/jquery/jquery.js?ver=1.12.4:3:12444)
      at HTMLBodyElement.r.handle (https://www.jenssage.com/wp-includes/js/jquery/jquery.js?ver=1.12.4:3:9173)

      Please fix. I even tried to find and replace all "http://" strings during runtime and replace them with "https://" but that didn't help, I guess there is some javascript magic at work

      Thanks
      Jens

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Hey Jenss!

        Best is if you write an email to armin.unruh@gmail.com and include your username, password and a link to this conversation.

        All the best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Try this to fix issues before you post:

        Use the Search Feature. Maybe there is already a solution to your issue.

        1. Update Lay Theme and all Lay Theme Addons
        2. Disable all Plugins
        3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
        4. Now see if your problem solved itself
        5. Go here, see if your problem is listed here:
        Troubleshooting

        When you post:
        1. Post a link to where the problem is
        2. If the problem is difficult to explain, post screenshots / link to a video to explain it

        Thanks!

        Online Users

        S
        M

        Recent Topics

        • L

          position Project titles outside the images on the side

        • slow navigation WP admin control panel

        • P

          News element date and title order

        • add css class to site title img

        laytheme.com