Site logo

Archived topic

Load More Posts / Infinite Scroll Not Functioning Properly

3 replies · Started by Moses on December 11, 2022

Viewing posts 1–4 of 4

Hello GP.

The Load More Posts / Infinite Scroll button does not always cascade additional posts. The problem seems to be intermittent. I have tested on 3 browsers Chrome/Firefox/Edge all with the same results. This happens on Mobile AND on Desktop. The 'MORE' button will disappear and no additional posts will be loaded.

The only other suggestion I have found in a related forum topic was to disable all additional plugins, which I have tried - with the problem still persisting. Nevertheless, I only have 2 plugins active other than GP and GB and that would be Rank Math + WP Show Posts. For obvious design and optimization reasons I would like to retain use of plugins.

I have also tried removing all 'Additional CSS' that is embedded to see if there was a conflict, with the same results.

I've included site and login details in the Private Information field below.

Thank you for your continued support.

Hi there,

So i managed to trigger the error and this is what i can see in the Browser Developers tools console tab:

[Error] Origin http://********.com is not allowed by Access-Control-Allow-Origin. Status code: 200
[Error] XMLHttpRequest cannot load https://********.com/page/2/ due to access control checks.

The error only occurs when the site is loaded over http - as you can see in the Origin error.
When load more is clicked it tries to load page/2 over https and the browser blocks it.

Check with your host and ask them to Enforce HTTPS on your server to fix this.

Magnificent! Thank you!

You're welcome!

This archived topic is closed to new replies.