Home › Toolset Professional Support › [Resolved] Some post types not working in views at all
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 |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10: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/Kolkata (GMT+05:30)
This topic contains 11 replies, has 2 voices.
Last updated by Minesh 1 year, 1 month ago.
Assisted by: Minesh.
Something is very wrong and I can't figure out what. Several of my post types will not work in new views, and when I try to run the views in a page it breaks the menu (sometimes). Some old views have broken. Some are just fine.
Dogs
Showings
Members
Scoresheet Items
Here's a link to a page with a view containing a search:
hidden link
If you use the search, it works and displays the correct results. But it *was* a full list (prior to searching) that you could then search (and a background picture, different formatting etc. Plus, the menu is not working.
Here's a link to another page with a view containing a search:
hidden link
Nothing comes up at all, plus white screen with no menu.
These are both old views that were working just fine. This is the same behavior with many new views as well. (It's not the search that's relevant, basic views containing just a list of post titles will also not work).
Some things are working just fine. But specific post types are not working as expected. Thanks in advance for anything you can see/help with.
All the best!
Hello. Thank you for contacting the Toolset support.
Here's a link to a page with a view containing a search:
hidden link
==>
With the above page (without login) I can see the search box with search button and white screen.
Here's a link to another page with a view containing a search:
hidden link
==>
With the above link - I can see the search box and search button and list of some names just besides the search box.
Can you please tell me what search keyword I should use that should produce the result as well as do you have screenshot what is your expected result.
This is really strange issue. I'm not sure whats going on with your setup.
First of all, I found the page slug:
- hidden link
And your view slug were same:
- hidden link
As per WordPress standard you should always use unique slugs for your all entities. So I changed the page slug to: "test-types-dog-1"
Then I found that the page which works that is set to display using the Elementor:
- hidden link
The page that does not work , I see its using classic editor:
- hidden link
I've also seen the memory not enough issue. Can you please increase memory to 512M.
- hidden link
- hidden link
If that even does not work, have you try to check your issue with minimum installation:
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?
- Do you see any difference?
Minesh,
I increased the memory to 512M following the instructions on the link. This did not make a difference that I could see.
I disabled all plugins except toolset and switched to toolset starter for the theme. This did not fix the problem. There *was* one single small fix when I disabled Elementor (the item that is not showing up in the form I mentioned showed up).
The missing fields were still not showing up (not in the field group for the custom post type, and not while directly editing the custom post). Those fields are still showing up in views, I just don't have any way to edit or add data to those fields.
Thanks again, let me know what to try/do next.
Is the custom fields displayed with your custom field group when you edit your custom field group?
I need duplicator copy of your site in order to debug this issue further.
Can you please send me duplicator copy of your site:
- https://toolset.com/faq/provide-supporters-copy-site/
I have set the next reply to private which means only you and I have access to it.
The file you shared is of 2.9 GB really big file.
Have you removed the images or other unwanted content while building the duplicator?
Can you please send me smaller size so I can download and setup on my localhost.
I also would like to know do you want to build your pages using Elementor?
What if you try to create a new page and to this newly added page try to add your view - do you able to see the view output on the frontened?
Just checking in to see if someone is still working on this. It's been a couple of days and I need to know if it's a lost cause or if there's something else I need to get to you.
Thanks again!
The issue was the view you were trying to display was set to display all posts of your post type and you have more than thousand posts and that is too much:
- hidden link
I set your above view to display results with pagination and I've set 50 items per page and added the pagination controls. Here is the doc that shows how you can add pagination to your view:
- https://toolset.com/documentation/legacy-features/views-plugin/views-pagination/
I can see now on frontend that page loaded successfully:
- hidden link
You should try to restrict your other views to display x number of posts per page using pagination and check if that help you to resolve your issue.
Minesh thank you, I will do that, although that has not traditionally been an issue.
That does not fix the issue of completely disappearing/missing fields. The missing fields were still not showing up (not in the field group for the custom post type, and not while directly editing the custom post). Those fields are still showing up in views, I just don't have any way to edit or add data to those fields.
Here is the custom field group list page:
- hidden link
Can you please point out what custom fields not displaying associated with what custom field group and with what post type?
Minesh,
Field Group for Dogs (CPT Dogs) is missing quite a few fields (everything past Dog Identification Location). This includes, for example "dog-call-name" and "dog-identification-number" and "dog-date-of-birth" (there are quite a few more, but those are three whose slug I know). You can see "dog-call-name" displayed in the view you referenced above (set page limit to 50) - but it is not able to be edited.
Field Group for Members (CPT Members) is missing quite a few fields (everything past Member Input). This includes, for example "member-2023" and "member-2024" (there are quite a few more, but those are two whose slug I know).
Thank you!
Can you please check now:
- hidden link
I've added all those fields "dog-call-name" and "dog-identification-number" and "dog-date-of-birth".
What I've done is I've navigated to the post field control:
- hidden link
Where I search for the missing field and then once I found that I click on the link "Change Assignment" link and you can then set the field to display with your desired custom field group and click on "Apply" button.
Can you please try to follow the same steps for all other missing field and assign that field to correct custom field group by clicking on the "Change Assignment" link and apply the changes.