Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. Mobile white screen error "A problem repeatedly occurred"

Mobile white screen error "A problem repeatedly occurred"

Scheduled Pinned Locked Moved Bug Reports
13 Posts 2 Posters 471 Views 2 Watching
  • 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.
  • arminunruhA Offline
    arminunruhA Offline
    arminunruh
    Global Moderator
    wrote on last edited by
    #3

    ok so basically iphones have very strict RAM limits for tabs
    and your site gets over this limit because of all the vimeo embeds.

    every vimeo/youtube embed is like its own small website that is loaded since those players are iframes

    and on top of that, vimeo loads placeholder images that are a good size for desktop, but too big for phone, which adds to the RAM problem

    im coding a vimeo and youtube lazy loading feature now

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by arminunruh
      #4

      So it seems that you added all of your Vimeo embeds using +more -> +html

      instead of +video -> +youtube/vimeo

      This circumvents the lazy loading of videos that is done in some cases, so basically 70 Vimeo videos or YouTube videos are loaded all at once when visiting the website, even though they're not even shown because they're in a hidden page overlay.

      And this also loads a Vimeo script 70 times, like the same one. It loads it 70 times because that seems to be part of the HTML video embed.

      1 Reply Last reply
      0
      • arminunruhA Offline
        arminunruhA Offline
        arminunruh
        Global Moderator
        wrote on last edited by
        #5

        So I coded a workaround where Vimeo videos that were included with the HTML element also lazy load now. Same for YouTube videos.

        They were already lazy loaded, but I had to turn off lazy loading of Vimeo and YouTube in some cases because there was some other bug with using the back button.

        Well, anyway, now in Lay Options, in the lazy loading section, I introduced two new checkboxes: lazy load Vimeo and lazy load YouTube. I enabled both of them and made it so they're always lazy loaded if you check those boxes. I made it so it always works with HTML element embeds too, as I said before.

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #6

          grafik.png

          I uploaded the LayTheme version that contains this fix to your website now, because I saw that yet I still had your admin login. I enabled those two settings. Now it may have fixed the iPhone issue. If not, I'm going to continue working on this tomorrow, I think.

          1 Reply Last reply
          0
          • arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote on last edited by
            #7

            What's pretty cool is I already see now, when I visit your website, it loads more than a hundred files less and just a few megabytes instead of 50 on initial load.

            1 Reply Last reply
            0
            • arminunruhA Offline
              arminunruhA Offline
              arminunruh
              Global Moderator
              wrote on last edited by arminunruh
              #8

              grafik.png

              I would also suggest we keep this setting off. We had this setting turned on on your website, the setting will load images that are way too big for mobile, and this will also create this issue where the website just crashes on your iPhone.

              1 Reply Last reply
              0
              • arminunruhA Offline
                arminunruhA Offline
                arminunruh
                Global Moderator
                wrote on last edited by
                #9

                by the way, your website is really beautiful, and your work is too. I'm really impressed with everything! <3

                1 Reply Last reply
                0
                • arminunruhA Offline
                  arminunruhA Offline
                  arminunruh
                  Global Moderator
                  wrote on last edited by
                  #10

                  hmm yea that hasnt fully fixed it yet. I will probably continue debugging this more tomorrow

                  1 Reply Last reply
                  0
                  • arminunruhA Offline
                    arminunruhA Offline
                    arminunruh
                    Global Moderator
                    wrote on last edited by
                    #11

                    hello, I tested your website again today, and for me it doesn't crash anymore on Safari iPhone. When running through some tests, the website does not use up a lot of resources that could crash anything anymore. Not sure why it didn't work yesterday. I think probably my phone just loaded the older version of the website still. Can you check if it works for you now?

                    1 Reply Last reply
                    0
                    • Y Offline
                      Y Offline
                      yaninaisla
                      wrote last edited by
                      #12

                      Hello dear @arminunruh, THANK YOU so much for all your dedication in solving this trouble! I just asked some friends to test it out as well, and it seems everything is working well now! :))

                      1 Reply Last reply
                      0
                      • arminunruhA Offline
                        arminunruhA Offline
                        arminunruh
                        Global Moderator
                        wrote last edited by
                        #13

                        I'm very happy that it works!
                        Yeah, sometimes there are some quirks about websites because there are so many different ways to insert content and configure things. I think the fix that I've built, where it does not load like 20 Vimeo iframes all at once, really did the trick. :))

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.

                        Want to support my work? paypal.me/arminunruh

                        Before you post:
                        1. When using a WordPress Cache plugin, disable it or clear your cache.
                        2. Update Lay Theme and all Lay Theme Addons
                        3. Disable all Plugins
                        4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                        This often solves issues you might run into

                        When you post:
                        1. Post a link to where the problem is
                        2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                        3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                        Online Users
                        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                        laytheme.com
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Search