Not loading posts – console JSON Parse error
-
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:26032I’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.
- The topic ‘Not loading posts – console JSON Parse error’ is closed to new replies.