Flex Block 1 – keeps loading the same posts.

Posted in: Newspaper
Post count: 8

The “Load more” button keeps loading the same posts again and again…
Flex Block 1

Post count: 35449

Hi,
Most of the time, when this situation appeared, it was related to a cache that was applied.
Can you check if this situation appears when you are logged in and there is no cache applied?
If the situation persists, can you make a test using only the tagDiv plugins?

Post count: 8

I can see that this happens when traffic is not routed through it. The admin-ajax.php endpoint is generating the raw HTML so it is likely an issue with the plugin.

Post count: 249

I’m curious how that layout was made? I’d love to have a layout like that of my publications.

Post count: 35449

Hi animationmagazine,
Please do a test using only the tagDiv plug-in to make sure that no plugin interferes (in most situations, there is an extra plugin interfering that is causing this problem).
If the problem persists using only the theme plugins, please make a full backup and contact us via email at contact@tagdiv.com and provide wp-admin and cPanel access. Include the topic details. We’ll check it as soon as we can.
Thank you!

Post count: 2

Same here, I have tagDiv plugins and Simple Local Avatars,
W3 Total Cache, Yoast SEO, Wordfence Security only. Tried with W3 Total Cache disabled, same behaviour. It worked until recently even if W3TC was active all time.

Post count: 2

Here is quick workaround (may help support debugging problem) until we wait for update:


add_filter('td_data_source_blocks_query_args', function ($args, $atts) {

if (isset($_POST['td_current_page'])) {
$current_page = (int) $_POST['td_current_page'];
$posts_per_page = (int) $args['posts_per_page'];
$offset = ($current_page - 1) * $posts_per_page;
$args['offset'] = $offset;
}

return $args;

}, 10, 2);

  • This reply was modified 8 months by Lekler.
  • This reply was modified 8 months by Lekler.
  • This reply was modified 8 months by Lekler.
Post count: 35449

Hi Lekler,
Thank you for sharing with our community!

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.