• I am working on localhost using MAMP so I can’t provide an example of my issue. The problem I am having is that sometimes with certain plugins, such as WP Maps, and also certain lines of JS, I get infinite loads, where half the screen loads, the JS mostly doesn’t load, the JS console is empty, and sometimes I can’t scroll. The following is example of such a line of code:
    html = html || 'Sorry, there are currently no courses of this specification at this time. We apologize for the inconvenience';
    When I add the line of code I experience this and when I remove it I don’t. Again, if it was a syntactical error the JS console would say so. This has never occurred on other non-WP hosted websites before so I’m wondering if this WP may be the reason. Regarding the WP Maps issue, if I add an API Key I get the issue while if I leave it blank I don’t.

Viewing 1 replies (of 1 total)
  • More information would be valuable.. If you already identified the troublemaker plugin, and respective lines of code, you can paste ’em in here to help everybody help you.

    I’m no js master, but based on your example, i can’t understand why you are declaring a variable equal to itself, it seems redudant and an easy explanation for an infinite load loop, but maybe i’m missing something here.

    Strongly advise to provide more detailed info so the real developers can help you solve it =)

Viewing 1 replies (of 1 total)

The topic ‘WP Inifinite Load’ is closed to new replies.