Skip Navigation

[Resolved] View not loading in edit mode and more weird behavior

This support ticket is created 3 years, 1 month 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: Asia/Karachi (GMT+05:00)

This topic contains 5 replies, has 3 voices.

Last updated by Arno 3 years, 1 month ago.

Assisted by: Waqar.

Author
Posts
#2269571

Hi,

I'm an new Toolset user trying to learn views with sorting. The one I am working on is problematic. If I open the page in edit mode the view often does not load. Normally it's 10 seconds or so, which is doable, but now it even doesn't show the view after many minutes.

If I try again it often works, but then there are other issues. Often the page preview link does not load either. It opens a Chrome tab that remains empty. Also I've seen that the right menu had empty dropdown lists where one should normally see the sorting source (which was already configured). In the frontend, the page shows a "sort by post date" option while this isn't configured.

Please see hidden link

Can I safely post a temporary login link for you here? So you can take a look?

Thanks,
Arno

#2269619

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

Let me mark your next reply as private so that we can get log-in credentials from you—you may want to create a temporary admin user for us to use that you can later delete. And be sure to have a current backup of your site.

We'll take a look.

#2270119

Hi,

Thank you for sharing the admin access.

I've checked the edit screen and the preview option for the "Day passes for Switzerland" page a couple of times, but, couldn't notice any loading issue.

If you only experience this intermittently, I'll recommend temporarily turning on WordPress debugging ( ref: https://wordpress.org/support/article/debugging-in-wordpress/ ), when this is happening and see if any errors or warnings are logged in the server's error logs.

The view on the page is set to show the results, ordered by the "Post date", by default.
( screenshot: hidden link )

This is why the order by "Post date" option is available in the sorting controls and is selected when the page loads.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#2270151

Hi Waqar,

Thanks for helping me out. I just tried again and it works fine. I will keep an eye on it and enable logging if needed.

As for the sorting: I did not realize that there are default sorting options on the view, in addition to my two sorting options set in the sorting block. I did not have post date sorting in the sorting block. What happened was that on initial page load it sorted on post date and also showed that in the sorting dropdown. So it showed 3 sorting options. After selecting another sorting, it only showed 2 sorting options in the dropdown. Quite confusing for a frontend user 🙂

I guess I need to make sure that the view sorting matches the sorting block.

Kind regards,
Arno

#2271083

Thanks for the update and glad I could help.

Your understanding is correct and you can match the ordering option with one of the sorting options, to avoid an extra option in the dropdown.

You're welcome to mark this ticket as resolved and start a new one, in case the loading issue reappears.

#2271089

Thanks Waqar!