-
AuthorPosts
-
May 15, 2020 at 5:38 am #1213123
This was an issue I had originally posted about on this forum a year ago (https://kriesi.at/support/topic/website-crashes-when-manually-enlarging-and-shrinking-gallery-images-on-mobile/). Shortly after posting I was doing further troubleshooting and determined my FB plugin was causing the issue so I had the thread closed. Since then I’ve tried 3 other FB plugins/shortcodes (4 in total) and the problem persists with all of them, and because of that I’m posting about the issue here again. (Currently I’m using FB’s official plugin/code: https://developers.facebook.com/docs/plugins/page-plugin/)
The problem is when I enlarge or shrink an image with my fingers on mobile my site crashes. I made a 2 screencasts of my phone showing this.
As you can see when I load my site and scroll down to the gallery images, upon enlarging and shrinking an image the following error message occurs: “This webpage was reloaded because a problem occurred.” Sometimes it says that, sometimes it doesn’t.
In either case when the site reloads and I do it again the site crashes and the following message appears: “A problem repeatedly occurred on…”, and at the top of the browser tab it says “Webpage Crashed.”
I really want to use a FB plugin on the same page as my gallery. Any help w this would be greatly appreciated,
Brian
May 18, 2020 at 10:03 pm #1214128Anyone???
May 21, 2020 at 9:48 am #1214933Hi,
Sorry for the late response. We are not really sure why that happens on iOS device. Have you tried using the default Facebook Like Widget from the theme instead of the actual FB plugin? The widget will not display the FB posts but it should be enough to allow your users to redirect to the site’s official Facebook page.
Best regards,
IsmaelMay 21, 2020 at 10:16 pm #1215090Thanks for the response Ismael.
I’ve tried the theme’s default FB Like Widget but it’s not really what I’m looking for, for two reasons:
1) Showing the feed is important because it’s very dynamic, always being updated with relevant content and interesting photos. This gives the site (especially in my industry) an up-to-date feel as well as generating interest so people hang-out and continue to explore even further. Without the feed the widget is simply a link for people to leave and go to FB where they can see the feed (as well as other content but none typically more desirable for the visitor to seek out or want to view than the feed). And if someone absolutely wants to get to FB to see that content they can either click the link on top of the plugin/widget or they can click on the FB icon located in both the header and footer. And this leads to my second point…
2) I don’t particularly want an app/widget/link that directs potential clients away from my site when it’s only for something as simple as a feed (which seems to me like something that should be easy enough to have using a theme as popular and widely used as Enfold). I spend a lot time and money to get people TO my site and not direct them away for social proof that I should rather easily be able to give them.
I certainly appreciate the theme providing the FB Like Widget, but for the reasons above it would be really nice to have the feed. I thought I would give you guys/gals a chance to figure it out and better the theme before giving one of my developers a shot.
I’ve been using Enfold almost exclusively since 2013. It’s a great theme with people behind the scenes that have been doing a great job with it for a long time and I just want to let you all know I very much appreciate it :)
Brian
May 26, 2020 at 12:48 pm #1216474Hi
Are you using the default lightbox option from the theme? It’s possible that the default lightbox script is incompatible with the FB widget, or a line of code is causing it to crash, so using a different lightbox plugin or script might help fix the issue. Unfortunately, we can’t really know without a way to properly debug the issue.
Have you tried connecting your phone to your laptop and debug the issue using the web inspector? An error should at least occur in the console before the page crashed.
// https://appletoolbox.com/use-web-inspector-debug-mobile-safari/
// https://developer.apple.com/safari/tools/Glad to know that you’ve been using the theme for so many years. Thank you!
Best regards,
IsmaelMay 29, 2020 at 7:37 pm #1217845Are you using the default lightbox option from the theme?
Yes.
It’s possible that the default lightbox script is incompatible with the FB widget, or a line of code is causing it to crash, so using a different lightbox plugin or script might help fix the issue.
Agreed…as I mentioned I’ve tried 4 different plugins, very popular ones, and the problem persists with all of them.
Unfortunately, we can’t really know without a way to properly debug the issue. Have you tried connecting your phone to your laptop and debug the issue using the web inspector? An error should at least occur in the console before the page crashed.
No, I wouldn’t know where to start or have any idea of what I’m doing. It’s happening to me on two different iphone Xs, are you able to reproduce it on your device? If so, can you debug it?
Would it help if I gave you my login info?
This level of coding is above my level of understanding. I have someone that does a good bit of coding work for me and he can’t figure it out which is why I’m coming to you. I’m using the theme’s default lightbox and I’ve tried 4 different FB plugins that are all yielding the same issue which at this point is making me think it’s some code in the theme that’s causing it.
June 1, 2020 at 11:13 am #1218402Hi,
Agreed…as I mentioned I’ve tried 4 different plugins,
I’m using the theme’s default lightbox and I’ve tried 4 different FB pluginsI was actually suggesting that you disable the default lightbox plugin (magnificPopup) and install a different one. Have you tried that?
You can find the lightbox toggle in the Enfold > Theme Options and after turning it off, try to install one of these plugins.
// https://wordpress.org/plugins/simple-lightbox/
// https://wordpress.org/plugins/easy-fancybox/
// https://www.imagely.com/wordpress-gallery-plugin/
// https://fooplugins.com/foobox/
// https://wordpress.org/plugins/wp-lightbox-2/I’ve added a note in the thread requesting other moderators to inspect the thread on iOS or Mac device.
Best regards,
IsmaelJune 2, 2020 at 8:55 pm #1218845Thanks for the suggestion. I tried it but it didn’t help.
Disabled the lightbox plugin and tried it. Disabled the lightbox plugin and tried three of the plugins you listed. I’m currently using the masonry gallery but I also tried both the gallery and the horizontal gallery. Everything mentioned above continues to result in the same issue.
June 2, 2020 at 10:01 pm #1218859I just realized something else. When I originally described the issue in the first post I said, “The problem is when I enlarge or shrink an image with my fingers on mobile my site crashes.” I just noticed that the issue occurs regardless of where on the site I enlarge or shrink the screen, not just on images. It could be an image or text or anywhere else on the page.
June 3, 2020 at 8:12 pm #1219235So after much troubleshooting I finally figured out what’s going on. The FB widgets’ (any of the at least 4 I tried) “timeline” apparently puts a large strain on my ios safari browser and tends to cause it to crash with the more content there is on the page. *Again, this only occurs when utilizing the timeline and not when just the header and link are present.* (I am only referring to my homepage, I have not been able to make any of my inner pages crash probably because there is relatively so little content on them.) Basically, the more content there is on the page, the more likely it can be crashed. When the timeline is off however and only the header and link are on the page, or when the widget is deactivated, I haven’t been able to make the page crash regardless of the amount of content I have. For example when the widget is active, even with as few as 10 images in the gallery I can cause it to crash. On the contrary when only the header and link are on the page, or when the widget is deactivated, even with all my 115 gallery images on the page I cannot cause it to crash. Based on that, it seems to me that the FB widget timeline is causing the crashing.
Originally I created this thread to try and get some help figuring out what was going on, but I kept posting updates with the thought that maybe this will help someone in the future if they encounter the same issue.
Thanks again, Ismael, for the responses :)
June 5, 2020 at 7:04 pm #1219900Hi brianbu,
Glad you got it figured out and thank you for sharing! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.