Support » Plugin: WordPress Infinite Scroll - Ajax Load More » BUG: “Unexpected token E in JSON at ajax-load-more.min/js?ver=3.2.0:1 position 0

  • Resolved jryanjp

    (@jryanjp)



    Ajax Load More is not working on my site suddenly. It doesn’t load any posts. The spinner spins for a few seconds, but nothing loads. Pressing the “Older Posts” button doesn’t work either. Nothing loads.

    In the JavaScript console, I see the error:

    BUG: "Unexpected token E in JSON at ajax-load-more.min/js?ver=3.2.0:1 position 0
        at JSON.parse (<anonymous>)
        at n.parseJSON (jquery.js?ver=2.6.14:4)
        at Xb (jquery.js?ver=2.6.14:4)
        at y (jquery.js?ver=2.6.14:4)
        at XMLHttpRequest.c (jquery.js?ver=2.6.14:4)

    This is making my site impossible to use. Please provide a fix ASAP. And please DON’T ask me to disable all of my plugins and then re-enable them one by one…that’s not realistic on a production site.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dcooney

    (@dcooney)

    Hi @jryanjp,
    Your site is working for me. Infinite scroll appears fine on the homepage.

    You do have some other JS errors, but they dont appear to be interfering with ALM.
    https://www.dropbox.com/s/xoies8hx56inasb/Screenshot%202017-09-03%2012.20.34.png?dl=0

    • This reply was modified 1 year ago by  dcooney.
    jryanjp

    (@jryanjp)

    Hi,

    The problem appears to be intermittent. When it does happen, the JS error I get clearly points to your plugin (ajax-load-more.min/js).

    Can you investigate what would cause the Unexpected token E in JSON error?

    Plugin Author dcooney

    (@dcooney)

    I tried in 3 browsers, several times and not able to reproduce this.

    Sometimes this error could happen if a PHP error occurs in the repeater template and it causes the JSON response to error.

    Hope that helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘BUG: “Unexpected token E in JSON at ajax-load-more.min/js?ver=3.2.0:1 position 0’ is closed to new replies.