• So I’ve got an issue, and I’m not entirely sure where to start debugging.

    I’m using the plugin Modern Events Calendar. They have a bunch of different views, but I’m using the monthly view. I’ve modified their code so that the image from the event pops up when you hover the mouse over the date entry.

    What I’m seeing happen is after a while, certain events, when I hover over them, the pop up is empty. It isn’t able to load the image. But if I edit the event entry, and just save it (making no changes) then it starts working again.

    So my gut is telling me the issue is not actually with the plugin, but maybe some kind of image caching problem? Why would just editing and re-saving the event “fix” things?

    It reoccurs often too, every week I go back and hover over all the events, and re-save the ones that don’t work … frequently having to re-save ones that I already re-saved a week ago.

    Can anyone point me in the right direction?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Wajid Ali

    (@wajid-ali-tabassum)

    Hi, @hhalvers can you please share the website URL?

    Thread Starter hhalvers

    (@hhalvers)

    So, I was hesitant to post a URL because the site is NSFW … BUT!

    I think I figured it out (which always seems to be the case when I’m stuck on something … as soon as I post a question about it, I figure it out).

    What had happened was … I was using some 3rd party PHP code called detectMobile() to see if the code was running on a phone, and if so, it would leave the tooltip info out. I think this code was working wrong, as that’s the only way that the tooltip info could be missing.

    So I got rid of that code, changed it to always put the tooltip on the event, and then just used css to change the tooltip to display:none if it was on mobile.

    Now, all of a sudden all of the pictures are showing in the hover tooltips correctly. I just need to wait a week or so to make the problem doesn’t come back.

    Thread Starter hhalvers

    (@hhalvers)

    <deleted, sorry>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to debug issue with images intermittently not loading’ is closed to new replies.