I have a site that has been in development for over a year (clients, I tell ya). I started back up to complete the site and my Views stopped loading. I tried to find out what was going on when I saw that none of my Views (3 of them) no longer have the CPT selected. I tried to select the CPT but I get an error. I am unable to re-select it. I do not know why they were de-selected in the first place since it was working fine for a while.
Hello. Thank you for contacting the Toolset support.
That is really strange.
- Do you see any console error when you try to select the post type for your view?
- Have you added any third-party plugin or change the theme?
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 able to spot any conflict with plugins you are using or theme?
If no:
I will require admin access details and problem URL of your view.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I see you have installed User Role Editor plugin. When I try to assign the post type as view source it throws the following error:
{type: "capability", message: "You do not have permissions for that."}
It seems somehow all the roles and capabilities are removed or somehow not working as expected and broken.
I suggest to create a brand new test install and import the views you created to the new test site.
Where are you seeing the error? I cannot seem to replicate it via viewing source while selecting the post type.
Have you tried to activate the role editor plugin? It is disabled for trouble shooting. Please activate user role editor and try again and let me know if you still see the issue.
Where are you seeing the error? I cannot seem to replicate it via viewing source while selecting the post type.
===>
The error which I shared you can see on network tab of your browser for the ajax request.
I do not see such issue with fresh install, as shared somehow your settings are corrupted.
Here is a sandbox site and you can auto-login to it using the following link:
- hidden link
I installed and activated the "User role Editor" plugin:
- hidden link
I created a new view and I can assign the post type without any issues:
- hidden link
Ok fine - thank you. This is unusual situation as there is no other user reported such issue yet. This must be due to some action due to that the capabilities are modified somehow that is unknown to you.