Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Kyle Phillips

    (@kylephillips)

    It looks like an issue with your theme.

    The JS console is showing an error from an undefined function “stickyMojo”. It doesn’t look like the theme is including that jQuery plugin.

    You could try removing those lines from your theme’s scripts.js.

    Thread Starter notnicecream

    (@notnicecream)

    ok. I commented it out, doesn’t seem to be giving anymore errors. But it’s still loading endlessly sadly.

    Plugin Author Kyle Phillips

    (@kylephillips)

    Viewing the source, it looks like multiple posts are being output in the JS data the plugin uses… it makes me think there is a loop somewhere that either isn’t closed, or isn’t being reset properly.

    You may need to go through your theme files and double check that. The single.php template would be a good place to start.

    Thread Starter notnicecream

    (@notnicecream)

    alright, I’ve checked out most of the theme files but I couldn’t find any real problem. So I decided to delete certain files one by one to see where the problem might be. I found that after deleting the theme widget.php files it instantly started working again. I put the widget files back and it’s still working oddly enough. So I am gonna check more into it to see which file might be causing some problem.
    Thanks for all the help so far.

    Thread Starter notnicecream

    (@notnicecream)

    ok. So this widget is causing problems with the map loading when this widget is actively on a page. Here is a pastebin of that file https://pastebin.com/RLxKxXCw . I’m not sure what i’m looking for maybe you can help me out to resolve it because I kinda need to use this widget file as well.
    Thanks!

    Plugin Author Kyle Phillips

    (@kylephillips)

    Try changing line 65 to:

    <?php endwhile; reset_post_data(); ?>

    Thread Starter notnicecream

    (@notnicecream)

    hmm, that actually made things a bit worse haha. when I put that in place of line 65 I get “Failed to load resource: the server responded with a status of 500 (Internal Server Error)” I’ll keep trying to figure it out.

    Thread Starter notnicecream

    (@notnicecream)

    So I took out line 61 <p><?php echo excerpt(19); ?></p> and it didn’t seem to affect the widget in anyway and it seems to be the culprit for making the map not load. It works now that I have removed it.
    Thanks for the help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Location page not loading google map’ is closed to new replies.