Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1127255

    Hi,

    On my site, which I use to recommend accomodations, I use for each accomodation a Google map. For the layout and content I’m using a template. So, each accomodation is filled from the same format. Strangest thing is that some accomodations are displaying the map, and others don’t…..

    Can you help me with narrowing this problem ? I don’t see it…

    The url’s are in the Private part.

    Regards,

    Erwin

    #1127494

    Hey Erwin,

    Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1127535

    Hey,

    The credentials are in the private art.

    Regards,

    Erwin

    #1128740

    Hi,
    Sorry for the late reply and thanks for the login and links.
    For the page that doesn’t have the map you are getting the “mediaelementplayer is not a function” error. I see that the page has a video and a Google Map iframe that is in “street view” so I changed your “Self hosted videos and audio features (WP-Mediaelement scripts)” setting so the “mediaelementplayer” would be a function, this has worked for this error in the past, but it didn’t on your site, it, in fact, caused the error on the working page, so I reverted the setting back and solved the error on the working page.
    On further investigation, I found that your child theme is using an old header.php, which is known to cause lightbox errors, but I don’t think you are using our lightbox, I see the FooBox plugin.
    I found a function on StackOverflow that may work, but your site says that the functions.php must be changed via sftp so I can’t add it, perhaps you can try. I did test it on my localhost and it caused no errors.

    So to summarize, please try:
    1: Try removing the Google “street view” map next to the video at the bottom of the page, perhaps a conflict?
    2: Disabling your plugins, perhaps one is causing a video conflict, the broken page is the only video I could find?
    3: Update your child theme header.php
    4: Try the function at the StackOverflow link above.

    Best regards,
    Mike

    #1129040

    Hi Mike,

    Thank you for looking into it. As a comment on the solution on StackOverflow they mentioned that jQuery was loaded two times. In the past I’ve added jQuery my self to the header to solve another problem. Probably it’s loaded twice now. After commented it out, it looks that it works again.

    How important is it to update the header.php in the child-theme? I have changed a few things and don’t have a list of my changes…

    Regards,
    Erwin

    #1129125

    Hi,
    Glad to hear that you found the solution and thanks for sharing.
    Since you don’t seem to have any errors from the old header.php right now, which typically has to do with the lightbox or a low PHP version, I would say that updating the header.php is not important for you. But please keep this in mind should you experience an odd error in the future, at that time you could test an updated header.php just to see if it helps.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.