• Resolved RobertN

    (@robertn)


    Hello,

    I’ve used this plugin before, but for some reason I cannot get it working this time and I’m lost as to why.

    No posts are loaded but I do get the load more button. If I click on it I get the following error in the console:

    [Log] SyntaxError: JSON Parse error: Unrecognized token ‘<‘ (ajax-load-more.min.js, line 80)
    parse
    parseJSON — jquery-1.11.3.min.js:5:16004
    Pb — jquery-1.11.3.min.js:5:18381
    x — jquery-1.11.3.min.js:5:21796
    b — jquery-1.11.3.min.js:5:26032

    I’ve kept the shortcode and repeater template super simple to rule out that it could be an error there.

    Shortcode:
    [ajax_load_more]

    <div class=”grid-blog”>
    <?php the_title(); ?>
    </div>

    Sorry if this has been solved before, I couldn’t find a solution anywhere.

    https://www.ads-software.com/plugins/ajax-load-more/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not loading posts – console JSON Parse error’ is closed to new replies.