Skip Navigation

[Resolved] paginated view does not return second page

This support ticket is created 3 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 12 replies, has 2 voices.

Last updated by AlimB3245 3 years, 10 months ago.

Assisted by: Jamal.

Author
Posts
#1936111

Here's the link to the page that seems to have an issue

hidden link

You would notice that there's a section called as Eyewear Brands that's normally to show all brands related to the optician.. it was working fine in the past

It's supposed to show the next 6 and then the next 6.. but after the first 6 it does not display the others..

#1936137
#1938113

I just want to let you know that I got a Duplicator Pro license and I took a copy of the subsite hidden link

I'll get back to you as soon as I find something.

#1939263

I just want to let you know that I am still working on this issue, but I find trouble debugging it. The local copy is not stable and the content template does not open correctly on the blocks editor. It also does not open correctly on your website hidden link

The relationships do not appear anymore on your website and they show up on mine hidden link

I tried to reproduce the issue on a clean install, with yesterday's version of Toolset Blocks and it was not reproduced. I noticed that I needed to set the number of posts per page and remove any limit on the view. So, I wanted to check it on your website but the content template does not open correctly, and I can't check the view inside of it.

The first copy that I took was only for the subsite youandeyemag, I'll try with another copy that has at least the root site too.

#1941303

Hi Jamal

There's an update.. I realised there were issues on the site and these were happening since I've updated the wordpress to 5.6.1 and I guess my theme was not ready for this.. so I've had to downgrade the WordPress to 5.5.3 .. this has been done now..

However the issue with the missing icons in the paginated view still exists..

Regards,
Alim

#1943815

Hello Alim and my apologies for the late reply, because I don't work on Wednesdays and Thursdays.

I took a copy of your website before reverting the WordPress release and unfortunately, it was not stable and I was not able to open the content template for my debugging. So, I wanted to take another copy today, but the content template is still not stable on your website and I can't open it to debug it. Check it here hidden link

The post is also not rendered correctly on the frontend, probably because of the multiple Javascript errors hidden link

I have tried with different browsers and they are still not opening. If we are not able to open the content template, I don't see how we can debug it and fix the view's issue. I wonder if you could provide me with a backup from the first day when you started the job, I can work on it. But, even if we found a solution, I wonder how we could implement it on your website that's not stable now. So, I'll suggest that you revert your website to an earlier version(February 6th)

#1948577

HI Jamal

Thanks for your response.. really appreciate the time and effort you have put into this..

And your are absolutely right.. the whole application was very unstable.. the problem was the theme which was not ready for 5.6.1..

Anyways I have worked over the weekend and now I have 5.6.1 with a completely new theme.. I have removed all additional plugins and the site is already feeling better.. I was having some issues with translation so I have also disable the WPML plugins as they were causing some issues..

Currently I'd say the site is much more solid.. but I'll let you have a look and confirm.. the disappearing icon issues on pagination still exists but I think you'll now be able to view the issue in a much better way..

Please do let me know if you need anything else.. Have a nice day..:-)..

Regards,
Alim

#1948779

Thank you, Alim. Unfortunately, the user's password has changed and I could not connect with it. I tried on the subsite and root site and I got my IP blocked. hidden link

Please provide a new user on your next private message. I don't have a permanent IP, I'll get a new one by the time I get the password.

#1948799
#1950061

I tried to build another view beneath that view and it did not help. So, I tried to remove parts of the content template and check each time, and it turns out that the first conditional block that displays the ad is behind the problem. Once we remove it the view works as expected. If we add it back, the view breaks again.

I got to the end of my shift today, I'll try to reproduce the issue on a clean install tomorrow to see if it happens because of the conditional block or the ads shortcode. If it is confirmed to be caused by the conditional block, I'll escalate it to our 2nd Tier for further assistance.

I'll keep you updated.

#1950955

Hi Jamal

Thanks for the update..:-)..

Will wait for your confirmation on the root cause of the issue.

Regards,
Alim

#1951209

Hello Alim,

It seems that the issue is tied to the conditional block instead of the 3rd party shortcode because it is reproducible with a Toolset shortcode. But the issue only happens in your site, I was not able to reproduce it on a clean install.

So, I am escalating it to our 2nd Tier for further assistance and I'll get back to you as soon as possible.

Because I have already recreated the view on my local copy, I wanted to confirm the case on your website, so I removed the conditional block from the content template and it fixed the issue. Unfortunately, I was not able to revert the change and recover the conditional block using the Undo button as I was doing in my local copy
hidden link

I'll keep you informed as soon as we have something.

#1951351

Thanks Jamal..:-)..

Will wait for your update.. have a nice day..:-)..

Regards,
Alim

#1958635

Hello Alim,

Our second tier finds out that the issue is not actually caused by the conditional block, but because of the page break block. This block seems to offer a pagination feature for pages or articles, and it does conflict with the Toolset pagination.
hidden link

We suggest removing it from the content template, or disabling pagination on the view and displaying all Eyewear brands.

I hope this helps. Let me know if you have any questions.

#1962311

Hi Jamal

Thanks for the update.. will delete the page break block.. I was using it as an old CSS habit to replace <clear:both> but I guess that doesn't really make sense when you are working with blocks

But what exactly is Page Break used for? If possible please do share a link to more info on the right usage of this block.

Thanks again.. have a nice day..:-)..

Regards,
Alim