Support » Plugin: WordPress Infinite Scroll - Ajax Load More » JavaScript Error Prevents Posts from Loading

  • jryanjp

    (@jryanjp)


    No posts at all are loading on my site. In the Developer Console, I can see the following error with ajax-load-more. I’ve reported this in the past, but it still happens intermittently. It works sometime but not all the time.

    SyntaxError: Unexpected token E in JSON at 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)

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

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

    (@dcooney)

    Hi @jryanjp;
    The site is working fine or me.

    Sounds likeit could be an error being sent from the repeater template,

    jryanjp

    (@jryanjp)

    Yes, as I said, the problem is intermittent. So, Murphy’s Law says that when you look at it, it will be working fine.

    Is there a way to make sure this doesn’t recur? What is the “repeater template”?

    Plugin Author dcooney

    (@dcooney)

    The template that renders content to the screen.
    Ajax Load More > Repeater Templates in your admin.

    jryanjp

    (@jryanjp)

    OK, how do I troubleshoot this so it doesn’t happen again? It keeps happening, and there’s no way to tell when it happens, but it makes the whole site unusable.

    Plugin Author dcooney

    (@dcooney)

    Is WP_DEBUG set to true in your wp_config?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘JavaScript Error Prevents Posts from Loading’ is closed to new replies.